Vanara/PInvoke/WinHTTP/readme.md

142 lines
32 KiB
Markdown

## Vanara.PInvoke.WinHTTP
PInvoke API (methods, structures and constants) imported from Windows WinHTTP.dll.
- Includes methods from winhttp.dll
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.WinHTTP?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.WinHTTP?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.WinHTTP)
### Methods - 100% API coverage (48 of 48 functions)
Native Method | Header | Managed Method
--- | --- | ---
[WinHttpAddRequestHeaders](https://www.google.com/search?num=5&q=WinHttpAddRequestHeaders+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpAddRequestHeaders](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpAddRequestHeaders)
[WinHttpAddRequestHeadersEx](https://www.google.com/search?num=5&q=WinHttpAddRequestHeadersEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpAddRequestHeadersEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpAddRequestHeadersEx)
[WinHttpCheckPlatform](https://www.google.com/search?num=5&q=WinHttpCheckPlatform+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpCheckPlatform](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpCheckPlatform)
[WinHttpCloseHandle](https://www.google.com/search?num=5&q=WinHttpCloseHandle+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpCloseHandle](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpCloseHandle)
[WinHttpConnect](https://www.google.com/search?num=5&q=WinHttpConnect+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpConnect](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpConnect)
[WinHttpCrackUrl](https://www.google.com/search?num=5&q=WinHttpCrackUrl+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpCrackUrl](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpCrackUrl)
[WinHttpCreateProxyResolver](https://www.google.com/search?num=5&q=WinHttpCreateProxyResolver+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpCreateProxyResolver](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpCreateProxyResolver)
[WinHttpCreateUrl](https://www.google.com/search?num=5&q=WinHttpCreateUrl+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpCreateUrl](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpCreateUrl)
[WinHttpDetectAutoProxyConfigUrl](https://www.google.com/search?num=5&q=WinHttpDetectAutoProxyConfigUrl+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpDetectAutoProxyConfigUrl](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpDetectAutoProxyConfigUrl)
[WinHttpFreeProxyResult](https://www.google.com/search?num=5&q=WinHttpFreeProxyResult+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpFreeProxyResult](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpFreeProxyResult)
[WinHttpFreeProxySettingsEx](https://www.google.com/search?num=5&q=WinHttpFreeProxySettingsEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpFreeProxySettingsEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpFreeProxySettingsEx)
[WinHttpFreeQueryConnectionGroupResult](https://www.google.com/search?num=5&q=WinHttpFreeQueryConnectionGroupResult+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpFreeQueryConnectionGroupResult](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpFreeQueryConnectionGroupResult)
[WinHttpGetDefaultProxyConfiguration](https://www.google.com/search?num=5&q=WinHttpGetDefaultProxyConfiguration+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetDefaultProxyConfiguration](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetDefaultProxyConfiguration)
[WinHttpGetIEProxyConfigForCurrentUser](https://www.google.com/search?num=5&q=WinHttpGetIEProxyConfigForCurrentUser+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetIEProxyConfigForCurrentUser](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetIEProxyConfigForCurrentUser)
[WinHttpGetProxyForUrl](https://www.google.com/search?num=5&q=WinHttpGetProxyForUrl+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetProxyForUrl](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetProxyForUrl)
[WinHttpGetProxyForUrlEx](https://www.google.com/search?num=5&q=WinHttpGetProxyForUrlEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetProxyForUrlEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetProxyForUrlEx)
[WinHttpGetProxyResult](https://www.google.com/search?num=5&q=WinHttpGetProxyResult+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetProxyResult](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetProxyResult)
[WinHttpGetProxySettingsEx](https://www.google.com/search?num=5&q=WinHttpGetProxySettingsEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetProxySettingsEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetProxySettingsEx)
[WinHttpGetProxySettingsResultEx](https://www.google.com/search?num=5&q=WinHttpGetProxySettingsResultEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpGetProxySettingsResultEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpGetProxySettingsResultEx)
[WinHttpOpen](https://www.google.com/search?num=5&q=WinHttpOpen+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpOpen](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpOpen)
[WinHttpOpenRequest](https://www.google.com/search?num=5&q=WinHttpOpenRequest+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpOpenRequest](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpOpenRequest)
[WinHttpQueryAuthSchemes](https://www.google.com/search?num=5&q=WinHttpQueryAuthSchemes+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryAuthSchemes](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryAuthSchemes)
[WinHttpQueryConnectionGroup](https://www.google.com/search?num=5&q=WinHttpQueryConnectionGroup+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryConnectionGroup](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryConnectionGroup)
[WinHttpQueryDataAvailable](https://www.google.com/search?num=5&q=WinHttpQueryDataAvailable+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryDataAvailable](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryDataAvailable)
[WinHttpQueryHeaders](https://www.google.com/search?num=5&q=WinHttpQueryHeaders+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryHeaders](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryHeaders)
[WinHttpQueryHeadersEx](https://www.google.com/search?num=5&q=WinHttpQueryHeadersEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryHeadersEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryHeadersEx)
[WinHttpQueryOption](https://www.google.com/search?num=5&q=WinHttpQueryOption+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpQueryOption](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpQueryOption)
[WinHttpReadData](https://www.google.com/search?num=5&q=WinHttpReadData+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpReadData](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpReadData)
[WinHttpReadDataEx](https://www.google.com/search?num=5&q=WinHttpReadDataEx+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpReadDataEx](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpReadDataEx)
[WinHttpReceiveResponse](https://www.google.com/search?num=5&q=WinHttpReceiveResponse+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpReceiveResponse](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpReceiveResponse)
[WinHttpRegisterProxyChangeNotification](https://www.google.com/search?num=5&q=WinHttpRegisterProxyChangeNotification+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpRegisterProxyChangeNotification](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpRegisterProxyChangeNotification)
[WinHttpResetAutoProxy](https://www.google.com/search?num=5&q=WinHttpResetAutoProxy+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpResetAutoProxy](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpResetAutoProxy)
[WinHttpSendRequest](https://www.google.com/search?num=5&q=WinHttpSendRequest+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSendRequest](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSendRequest)
[WinHttpSetCredentials](https://www.google.com/search?num=5&q=WinHttpSetCredentials+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSetCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSetCredentials)
[WinHttpSetDefaultProxyConfiguration](https://www.google.com/search?num=5&q=WinHttpSetDefaultProxyConfiguration+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSetDefaultProxyConfiguration](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSetDefaultProxyConfiguration)
[WinHttpSetOption](https://www.google.com/search?num=5&q=WinHttpSetOption+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSetOption](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSetOption)
[WinHttpSetStatusCallback](https://www.google.com/search?num=5&q=WinHttpSetStatusCallback+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSetStatusCallback](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSetStatusCallback)
[WinHttpSetTimeouts](https://www.google.com/search?num=5&q=WinHttpSetTimeouts+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpSetTimeouts](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpSetTimeouts)
[WinHttpTimeFromSystemTime](https://www.google.com/search?num=5&q=WinHttpTimeFromSystemTime+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpTimeFromSystemTime](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpTimeFromSystemTime)
[WinHttpTimeToSystemTime](https://www.google.com/search?num=5&q=WinHttpTimeToSystemTime+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpTimeToSystemTime](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpTimeToSystemTime)
[WinHttpUnregisterProxyChangeNotification](https://www.google.com/search?num=5&q=WinHttpUnregisterProxyChangeNotification+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpUnregisterProxyChangeNotification](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpUnregisterProxyChangeNotification)
[WinHttpWebSocketClose](https://www.google.com/search?num=5&q=WinHttpWebSocketClose+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketClose](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketClose)
[WinHttpWebSocketCompleteUpgrade](https://www.google.com/search?num=5&q=WinHttpWebSocketCompleteUpgrade+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketCompleteUpgrade](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketCompleteUpgrade)
[WinHttpWebSocketQueryCloseStatus](https://www.google.com/search?num=5&q=WinHttpWebSocketQueryCloseStatus+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketQueryCloseStatus](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketQueryCloseStatus)
[WinHttpWebSocketReceive](https://www.google.com/search?num=5&q=WinHttpWebSocketReceive+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketReceive](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketReceive)
[WinHttpWebSocketSend](https://www.google.com/search?num=5&q=WinHttpWebSocketSend+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketSend](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketSend)
[WinHttpWebSocketShutdown](https://www.google.com/search?num=5&q=WinHttpWebSocketShutdown+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWebSocketShutdown](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWebSocketShutdown)
[WinHttpWriteData](https://www.google.com/search?num=5&q=WinHttpWriteData+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpWriteData](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpWriteData)
### Enumerations
Native Enum | Header | Managed Enum
--- | --- | ---
[ASYNC_RESULT](https://www.google.com/search?num=5&q=ASYNC_RESULT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.ASYNC_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=ASYNC_RESULT)
[HTTP_STATUS](https://www.google.com/search?num=5&q=HTTP_STATUS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.HTTP_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=HTTP_STATUS)
[ICU](https://www.google.com/search?num=5&q=ICU+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.ICU](https://github.com/dahall/Vanara/search?l=C%23&q=ICU)
[INTERNET_SCHEME](https://www.google.com/search?num=5&q=INTERNET_SCHEME+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.INTERNET_SCHEME](https://github.com/dahall/Vanara/search?l=C%23&q=INTERNET_SCHEME)
[SECURITY_FLAG](https://www.google.com/search?num=5&q=SECURITY_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.SECURITY_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=SECURITY_FLAG)
[WINHTTP_ACCESS_TYPE](https://www.google.com/search?num=5&q=WINHTTP_ACCESS_TYPE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_ACCESS_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_ACCESS_TYPE)
[WINHTTP_ADDREQ_FLAG](https://www.google.com/search?num=5&q=WINHTTP_ADDREQ_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_ADDREQ_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_ADDREQ_FLAG)
[WINHTTP_AUTH_SCHEME](https://www.google.com/search?num=5&q=WINHTTP_AUTH_SCHEME+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTH_SCHEME](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTH_SCHEME)
[WINHTTP_AUTH_TARGET](https://www.google.com/search?num=5&q=WINHTTP_AUTH_TARGET+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTH_TARGET](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTH_TARGET)
[WINHTTP_AUTO_DETECT_TYPE](https://www.google.com/search?num=5&q=WINHTTP_AUTO_DETECT_TYPE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTO_DETECT_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTO_DETECT_TYPE)
[WINHTTP_AUTOLOGON_SECURITY_LEVEL](https://www.google.com/search?num=5&q=WINHTTP_AUTOLOGON_SECURITY_LEVEL+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTOLOGON_SECURITY_LEVEL](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTOLOGON_SECURITY_LEVEL)
[WINHTTP_AUTOPROXY](https://www.google.com/search?num=5&q=WINHTTP_AUTOPROXY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTOPROXY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTOPROXY)
[WINHTTP_CALLBACK_FLAG](https://www.google.com/search?num=5&q=WINHTTP_CALLBACK_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CALLBACK_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CALLBACK_FLAG)
[WINHTTP_CALLBACK_STATUS](https://www.google.com/search?num=5&q=WINHTTP_CALLBACK_STATUS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CALLBACK_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CALLBACK_STATUS)
[WINHTTP_CALLBACK_STATUS_FLAG](https://www.google.com/search?num=5&q=WINHTTP_CALLBACK_STATUS_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CALLBACK_STATUS_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CALLBACK_STATUS_FLAG)
[WINHTTP_DECOMPRESSION_FLAG](https://www.google.com/search?num=5&q=WINHTTP_DECOMPRESSION_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_DECOMPRESSION_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_DECOMPRESSION_FLAG)
[WINHTTP_DISABLE](https://www.google.com/search?num=5&q=WINHTTP_DISABLE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_DISABLE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_DISABLE)
[WINHTTP_DISABLE_PASSPORT](https://www.google.com/search?num=5&q=WINHTTP_DISABLE_PASSPORT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_DISABLE_PASSPORT](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_DISABLE_PASSPORT)
[WINHTTP_ENABLE_SSL](https://www.google.com/search?num=5&q=WINHTTP_ENABLE_SSL+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_ENABLE_SSL](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_ENABLE_SSL)
[WINHTTP_EXTENDED_HEADER_FLAG](https://www.google.com/search?num=5&q=WINHTTP_EXTENDED_HEADER_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_EXTENDED_HEADER_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_EXTENDED_HEADER_FLAG)
[WINHTTP_FLAG_SECURE_PROTOCOL](https://www.google.com/search?num=5&q=WINHTTP_FLAG_SECURE_PROTOCOL+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_FLAG_SECURE_PROTOCOL](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_FLAG_SECURE_PROTOCOL)
[WINHTTP_HANDLE_TYPE](https://www.google.com/search?num=5&q=WINHTTP_HANDLE_TYPE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_HANDLE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_HANDLE_TYPE)
[WINHTTP_MATCH_CONNECTION_GUID_FLAG](https://www.google.com/search?num=5&q=WINHTTP_MATCH_CONNECTION_GUID_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_MATCH_CONNECTION_GUID_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_MATCH_CONNECTION_GUID_FLAG)
[WINHTTP_OPEN_FLAG](https://www.google.com/search?num=5&q=WINHTTP_OPEN_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_OPEN_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_OPEN_FLAG)
[WINHTTP_OPENREQ_FLAG](https://www.google.com/search?num=5&q=WINHTTP_OPENREQ_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_OPENREQ_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_OPENREQ_FLAG)
[WINHTTP_OPTION](https://www.google.com/search?num=5&q=WINHTTP_OPTION+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_OPTION](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_OPTION)
[WINHTTP_OPTION_REDIRECT_POLICY](https://www.google.com/search?num=5&q=WINHTTP_OPTION_REDIRECT_POLICY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_OPTION_REDIRECT_POLICY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_OPTION_REDIRECT_POLICY)
[WINHTTP_PROTOCOL_FLAG](https://www.google.com/search?num=5&q=WINHTTP_PROTOCOL_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROTOCOL_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROTOCOL_FLAG)
[WINHTTP_PROXY_SETTINGS_TYPE](https://www.google.com/search?num=5&q=WINHTTP_PROXY_SETTINGS_TYPE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_SETTINGS_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_SETTINGS_TYPE)
[WINHTTP_PROXY_TYPE](https://www.google.com/search?num=5&q=WINHTTP_PROXY_TYPE+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_TYPE)
[WINHTTP_QUERY](https://www.google.com/search?num=5&q=WINHTTP_QUERY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_QUERY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_QUERY)
[WINHTTP_QUERY_CONNECTION_GROUP_FLAG](https://www.google.com/search?num=5&q=WINHTTP_QUERY_CONNECTION_GROUP_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_QUERY_CONNECTION_GROUP_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_QUERY_CONNECTION_GROUP_FLAG)
[WINHTTP_READ_DATA_EX_FLAG](https://www.google.com/search?num=5&q=WINHTTP_READ_DATA_EX_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_READ_DATA_EX_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_READ_DATA_EX_FLAG)
[WINHTTP_REQUEST_STAT_ENTRY](https://www.google.com/search?num=5&q=WINHTTP_REQUEST_STAT_ENTRY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_REQUEST_STAT_ENTRY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_REQUEST_STAT_ENTRY)
[WINHTTP_REQUEST_STAT_FLAG](https://www.google.com/search?num=5&q=WINHTTP_REQUEST_STAT_FLAG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_REQUEST_STAT_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_REQUEST_STAT_FLAG)
[WINHTTP_REQUEST_TIME_ENTRY](https://www.google.com/search?num=5&q=WINHTTP_REQUEST_TIME_ENTRY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_REQUEST_TIME_ENTRY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_REQUEST_TIME_ENTRY)
[WINHTTP_RESET](https://www.google.com/search?num=5&q=WINHTTP_RESET+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_RESET](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_RESET)
[WINHTTP_SPN](https://www.google.com/search?num=5&q=WINHTTP_SPN+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_SPN](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_SPN)
[WINHTTP_WEB_SOCKET_BUFFER_TYPE](https://www.google.com/search?num=5&q=WINHTTP_WEB_SOCKET_BUFFER_TYPE+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_WEB_SOCKET_BUFFER_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_WEB_SOCKET_BUFFER_TYPE)
[WINHTTP_WEB_SOCKET_CLOSE_STATUS](https://www.google.com/search?num=5&q=WINHTTP_WEB_SOCKET_CLOSE_STATUS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_WEB_SOCKET_CLOSE_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_WEB_SOCKET_CLOSE_STATUS)
[WINHTTP_WEB_SOCKET_OPERATION](https://www.google.com/search?num=5&q=WINHTTP_WEB_SOCKET_OPERATION+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_WEB_SOCKET_OPERATION](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_WEB_SOCKET_OPERATION)
[WinHttpRequestAutoLogonPolicy](https://www.google.com/search?num=5&q=WinHttpRequestAutoLogonPolicy+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpRequestAutoLogonPolicy](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpRequestAutoLogonPolicy)
[WinHttpRequestOption](https://www.google.com/search?num=5&q=WinHttpRequestOption+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WinHttpRequestOption](https://github.com/dahall/Vanara/search?l=C%23&q=WinHttpRequestOption)
### Structures
Native Structure | Header | Managed Structure
--- | --- | ---
[HINTERNET](https://www.google.com/search?num=5&q=HINTERNET+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.WinHTTP.HINTERNET](https://github.com/dahall/Vanara/search?l=C%23&q=HINTERNET)
[HTTP_VERSION_INFO](https://www.google.com/search?num=5&q=HTTP_VERSION_INFO+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.HTTP_VERSION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=HTTP_VERSION_INFO)
[WINHTTP_ASYNC_RESULT](https://www.google.com/search?num=5&q=WINHTTP_ASYNC_RESULT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_ASYNC_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_ASYNC_RESULT)
[WINHTTP_AUTOPROXY_OPTIONS](https://www.google.com/search?num=5&q=WINHTTP_AUTOPROXY_OPTIONS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_AUTOPROXY_OPTIONS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_AUTOPROXY_OPTIONS)
[WINHTTP_CERTIFICATE_INFO](https://www.google.com/search?num=5&q=WINHTTP_CERTIFICATE_INFO+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CERTIFICATE_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CERTIFICATE_INFO)
[WINHTTP_CONNECTION_GROUP](https://www.google.com/search?num=5&q=WINHTTP_CONNECTION_GROUP+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CONNECTION_GROUP](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CONNECTION_GROUP)
[WINHTTP_CONNECTION_INFO](https://www.google.com/search?num=5&q=WINHTTP_CONNECTION_INFO+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CONNECTION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CONNECTION_INFO)
[WINHTTP_CREDS](https://www.google.com/search?num=5&q=WINHTTP_CREDS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CREDS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CREDS)
[WINHTTP_CREDS_EX](https://www.google.com/search?num=5&q=WINHTTP_CREDS_EX+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CREDS_EX](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CREDS_EX)
[WINHTTP_CURRENT_USER_IE_PROXY_CONFIG](https://www.google.com/search?num=5&q=WINHTTP_CURRENT_USER_IE_PROXY_CONFIG+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_CURRENT_USER_IE_PROXY_CONFIG](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_CURRENT_USER_IE_PROXY_CONFIG)
[WINHTTP_EXTENDED_HEADER](https://www.google.com/search?num=5&q=WINHTTP_EXTENDED_HEADER+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_EXTENDED_HEADER](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_EXTENDED_HEADER)
[WINHTTP_HEADER_NAME](https://www.google.com/search?num=5&q=WINHTTP_HEADER_NAME+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_HEADER_NAME](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_HEADER_NAME)
[WINHTTP_HOST_CONNECTION_GROUP](https://www.google.com/search?num=5&q=WINHTTP_HOST_CONNECTION_GROUP+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_HOST_CONNECTION_GROUP](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_HOST_CONNECTION_GROUP)
[WINHTTP_MATCH_CONNECTION_GUID](https://www.google.com/search?num=5&q=WINHTTP_MATCH_CONNECTION_GUID+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_MATCH_CONNECTION_GUID](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_MATCH_CONNECTION_GUID)
[WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE](https://www.google.com/search?num=5&q=WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE)
[WINHTTP_PROXY_INFO](https://www.google.com/search?num=5&q=WINHTTP_PROXY_INFO+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_INFO)
[WINHTTP_PROXY_INFO_IN](https://www.google.com/search?num=5&q=WINHTTP_PROXY_INFO_IN+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_INFO_IN](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_INFO_IN)
[WINHTTP_PROXY_NETWORKING_KEY](https://www.google.com/search?num=5&q=WINHTTP_PROXY_NETWORKING_KEY+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_NETWORKING_KEY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_NETWORKING_KEY)
[WINHTTP_PROXY_RESULT](https://www.google.com/search?num=5&q=WINHTTP_PROXY_RESULT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_RESULT)
[WINHTTP_PROXY_RESULT_ENTRY](https://www.google.com/search?num=5&q=WINHTTP_PROXY_RESULT_ENTRY+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_RESULT_ENTRY](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_RESULT_ENTRY)
[WINHTTP_PROXY_SETTINGS](https://www.google.com/search?num=5&q=WINHTTP_PROXY_SETTINGS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_SETTINGS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_SETTINGS)
[WINHTTP_PROXY_SETTINGS_EX](https://www.google.com/search?num=5&q=WINHTTP_PROXY_SETTINGS_EX+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_SETTINGS_EX](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_SETTINGS_EX)
[WINHTTP_PROXY_SETTINGS_EX_MGD](https://www.google.com/search?num=5&q=WINHTTP_PROXY_SETTINGS_EX_MGD+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_SETTINGS_EX_MGD](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_SETTINGS_EX_MGD)
[WINHTTP_PROXY_SETTINGS_PARAM](https://www.google.com/search?num=5&q=WINHTTP_PROXY_SETTINGS_PARAM+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_PROXY_SETTINGS_PARAM](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_PROXY_SETTINGS_PARAM)
[WINHTTP_QUERY_CONNECTION_GROUP_RESULT](https://www.google.com/search?num=5&q=WINHTTP_QUERY_CONNECTION_GROUP_RESULT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_QUERY_CONNECTION_GROUP_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_QUERY_CONNECTION_GROUP_RESULT)
[WINHTTP_REQUEST_STATS](https://www.google.com/search?num=5&q=WINHTTP_REQUEST_STATS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_REQUEST_STATS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_REQUEST_STATS)
[WINHTTP_REQUEST_TIMES](https://www.google.com/search?num=5&q=WINHTTP_REQUEST_TIMES+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_REQUEST_TIMES](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_REQUEST_TIMES)
[WINHTTP_SECURITY_INFO](https://www.google.com/search?num=5&q=WINHTTP_SECURITY_INFO+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_SECURITY_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_SECURITY_INFO)
[WINHTTP_URL_COMPONENTS](https://www.google.com/search?num=5&q=WINHTTP_URL_COMPONENTS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_URL_COMPONENTS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_URL_COMPONENTS)
[WINHTTP_URL_COMPONENTS_IN](https://www.google.com/search?num=5&q=WINHTTP_URL_COMPONENTS_IN+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_URL_COMPONENTS_IN](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_URL_COMPONENTS_IN)
[WINHTTP_WEB_SOCKET_ASYNC_RESULT](https://www.google.com/search?num=5&q=WINHTTP_WEB_SOCKET_ASYNC_RESULT+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_WEB_SOCKET_ASYNC_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_WEB_SOCKET_ASYNC_RESULT)
[WINHTTP_WEB_SOCKET_STATUS](https://www.google.com/search?num=5&q=WINHTTP_WEB_SOCKET_STATUS+site%3Alearn.microsoft.com) | winhttp.h | [Vanara.PInvoke.WinHTTP.WINHTTP_WEB_SOCKET_STATUS](https://github.com/dahall/Vanara/search?l=C%23&q=WINHTTP_WEB_SOCKET_STATUS)
### Classes
Native Class | Header | Managed Class
--- | --- | ---
[SafeHINTERNET](https://www.google.com/search?num=5&q=SafeHINTERNET+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.WinHTTP.SafeHINTERNET](https://github.com/dahall/Vanara/search?l=C%23&q=SafeHINTERNET)