Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C#

WebBrowserControl for the .NET Framework 1.1

Rate me:
Please Sign up or sign in to vote.
3.06/5 (11 votes)
15 Apr 2010CPOL2 min read 98.8K   1.6K   21  
An implementation of a web browser control for the .NET Framework 1.1.
using System;

namespace Pajocomo.Windows.Forms
{
    /// <summary>
    /// Contains values used with the <see cref="IWebBrowserObject.Refresh"/> method.
    /// </summary>
    /// <remarks>
    /// The "pragma:nocache" header tells the server not to return a cached copy but to ensure that the information is as fresh as possible. Browsers typically send this header when the user selects Refresh, but the header can cause problems for some servers.
    /// </remarks>
    public enum RefreshOption
    {
        /// <summary>
        /// Refresh that does not include sending the HTTP "pragma:nocache" header to the server.
        /// </summary>
        Normal = 0,
        /// <summary>
        /// Refresh that occurs if the page has expired.
        /// </summary>
        IfExpired = 1,
        /// <summary>
        /// For internal use only; do not use.
        /// </summary>
        Continue = 2,
        /// <summary>
        /// Refresh that includes sending a "pragma:nocache" header to the server (HTTP URLs only).
        /// </summary>
        Completely = 3
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Paulo Morgado
Portugal Portugal

Comments and Discussions