PageRenderTime 46ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

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