PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/Visual Studio 2008/CSWebBrowserWithProxy/INTERNET_OPEN_TYPE.cs

#
C# | 45 lines | 10 code | 5 blank | 30 comment | 0 complexity | 4bf00fbb68173ddefde856eef147b6e5 MD5 | raw file
 1/****************************** Module Header ******************************\
 2 Module Name:  INTERNET_OPEN_TYPE.cs
 3 Project:      CSWebBrowserWithProxy
 4 Copyright (c) Microsoft Corporation.
 5 
 6 This enum contains 4 WinINet constants used in InternetOpen function.
 7 Visit http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx to get the 
 8 whole constants list.
 9 
10 This source is subject to the Microsoft Public License.
11 See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
12 All other rights reserved.
13 
14 THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
15 EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
16 WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
17\***************************************************************************/
18
19
20namespace CSWebBrowserWithProxy
21{
22    public enum INTERNET_OPEN_TYPE
23    {
24        /// <summary>
25        /// Retrieves the proxy or direct configuration from the registry.
26        /// </summary>
27        INTERNET_OPEN_TYPE_PRECONFIG = 0,
28
29        /// <summary>
30        /// Resolves all host names locally.
31        /// </summary>
32        INTERNET_OPEN_TYPE_DIRECT = 1,
33
34        /// <summary>
35        /// Passes requests to the proxy unless a proxy bypass list is supplied and the name to be resolved bypasses the proxy.
36        /// </summary>
37        INTERNET_OPEN_TYPE_PROXY=3,
38
39        /// <summary>
40        /// Retrieves the proxy or direct configuration from the registry and prevents
41        /// the use of a startup Microsoft JScript or Internet Setup (INS) file.
42        /// </summary>
43        INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY =4
44    }
45}