Vanara.PInvoke.WinHTTP 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.WinHTTP --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.WinHTTP -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.WinHTTP" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.WinHTTP --version 4.0.4                
#r "nuget: Vanara.PInvoke.WinHTTP, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.WinHTTP as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.WinHTTP&version=4.0.4

// Install Vanara.PInvoke.WinHTTP as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.WinHTTP&version=4.0.4                

Vanara

Vanara.PInvoke.WinHTTP NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows WinHTTP.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.WinHTTP

Functions Enumerations Structures
WinHttpAddRequestHeaders WinHttpAddRequestHeadersEx WinHttpCheckPlatform WinHttpCloseHandle WinHttpConnect WinHttpCrackUrl WinHttpCreateProxyResolver WinHttpCreateUrl WinHttpDetectAutoProxyConfigUrl WinHttpFreeProxyResult WinHttpFreeProxySettingsEx WinHttpFreeQueryConnectionGroupResult WinHttpGetDefaultProxyConfiguration WinHttpGetIEProxyConfigForCurrentUser WinHttpGetProxyForUrl WinHttpGetProxyForUrlEx WinHttpGetProxyResult WinHttpGetProxySettingsEx WinHttpGetProxySettingsResultEx WinHttpOpen WinHttpOpenRequest WinHttpQueryAuthSchemes WinHttpQueryConnectionGroup WinHttpQueryDataAvailable WinHttpQueryHeaders WinHttpQueryHeadersEx WinHttpQueryOption WinHttpReadData WinHttpReadDataEx WinHttpReceiveResponse WinHttpRegisterProxyChangeNotification WinHttpResetAutoProxy WinHttpSendRequest WinHttpSetCredentials WinHttpSetDefaultProxyConfiguration WinHttpSetOption WinHttpSetStatusCallback WinHttpSetTimeouts WinHttpTimeFromSystemTime WinHttpTimeToSystemTime WinHttpUnregisterProxyChangeNotification WinHttpWebSocketClose WinHttpWebSocketCompleteUpgrade WinHttpWebSocketQueryCloseStatus WinHttpWebSocketReceive WinHttpWebSocketSend WinHttpWebSocketShutdown WinHttpWriteData ASYNC_RESULT HTTP_STATUS ICU INTERNET_SCHEME SECURITY_FLAG WINHTTP_ACCESS_TYPE WINHTTP_ADDREQ_FLAG WINHTTP_AUTH_SCHEME WINHTTP_AUTH_TARGET WINHTTP_AUTO_DETECT_TYPE WINHTTP_AUTOLOGON_SECURITY_LEVEL WINHTTP_AUTOPROXY WINHTTP_CALLBACK_FLAG WINHTTP_CALLBACK_STATUS WINHTTP_CALLBACK_STATUS_FLAG WINHTTP_DECOMPRESSION_FLAG WINHTTP_DISABLE WINHTTP_DISABLE_PASSPORT WINHTTP_ENABLE_SSL WINHTTP_EXTENDED_HEADER_FLAG WINHTTP_FLAG_SECURE_PROTOCOL WINHTTP_HANDLE_TYPE WINHTTP_MATCH_CONNECTION_GUID_FLAG WINHTTP_OPEN_FLAG WINHTTP_OPENREQ_FLAG WINHTTP_OPTION WINHTTP_OPTION_REDIRECT_POLICY WINHTTP_PROTOCOL_FLAG WINHTTP_PROXY_SETTINGS_TYPE WINHTTP_PROXY_TYPE WINHTTP_QUERY WINHTTP_QUERY_CONNECTION_GROUP_FLAG WINHTTP_READ_DATA_EX_FLAG WINHTTP_REQUEST_STAT_ENTRY WINHTTP_REQUEST_STAT_FLAG WINHTTP_REQUEST_TIME_ENTRY WINHTTP_RESET WINHTTP_SPN WINHTTP_WEB_SOCKET_BUFFER_TYPE WINHTTP_WEB_SOCKET_CLOSE_STATUS WINHTTP_WEB_SOCKET_OPERATION WinHttpRequestAutoLogonPolicy WinHttpRequestOption HINTERNET HTTP_VERSION_INFO WINHTTP_ASYNC_RESULT WINHTTP_AUTOPROXY_OPTIONS WINHTTP_CERTIFICATE_INFO WINHTTP_CONNECTION_GROUP WINHTTP_CONNECTION_INFO WINHTTP_CREDS WINHTTP_CREDS_EX WINHTTP_CURRENT_USER_IE_PROXY_CONFIG WINHTTP_EXTENDED_HEADER WINHTTP_HEADER_NAME WINHTTP_HOST_CONNECTION_GROUP WINHTTP_MATCH_CONNECTION_GUID WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE WINHTTP_PROXY_INFO WINHTTP_PROXY_INFO_IN WINHTTP_PROXY_NETWORKING_KEY WINHTTP_PROXY_RESULT WINHTTP_PROXY_RESULT_ENTRY WINHTTP_PROXY_SETTINGS WINHTTP_PROXY_SETTINGS_EX WINHTTP_PROXY_SETTINGS_EX_MGD WINHTTP_PROXY_SETTINGS_PARAM WINHTTP_QUERY_CONNECTION_GROUP_RESULT WINHTTP_REQUEST_STATS WINHTTP_REQUEST_TIMES WINHTTP_SECURITY_INFO WINHTTP_URL_COMPONENTS WINHTTP_URL_COMPONENTS_IN WINHTTP_WEB_SOCKET_ASYNC_RESULT WINHTTP_WEB_SOCKET_STATUS
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Vanara.PInvoke.WinHTTP:

Package Downloads
BD.Common

次元超越通用基类库

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 371 9/13/2024
4.0.3 179 8/5/2024
4.0.2 186 6/24/2024
4.0.1 331 4/30/2024
4.0.0 126 3/29/2024
4.0.0-beta2 173 1/22/2024
4.0.0-beta 151 11/20/2023
3.4.17 428 10/18/2023
3.4.16 565 8/7/2023
3.4.15 612 5/18/2023
3.4.14 1,460 4/15/2023
3.4.13 1,063 2/4/2023
3.4.12 1,561 1/15/2023
3.4.11 595 11/15/2022
3.4.10 672 10/25/2022
3.4.9 731 10/3/2022
3.4.8 754 9/16/2022
3.4.7 768 9/3/2022
3.4.6 805 8/7/2022
3.4.5 834 7/17/2022
3.4.4 778 7/5/2022
3.4.3 839 6/14/2022
3.4.2 837 5/13/2022
3.4.1 830 5/5/2022
3.4.0 897 3/14/2022

Currently implements:

Functions
WinHttpAddRequestHeaders WinHttpAddRequestHeadersEx WinHttpCheckPlatform WinHttpCloseHandle WinHttpConnect WinHttpCrackUrl WinHttpCreateProxyResolver WinHttpCreateUrl WinHttpDetectAutoProxyConfigUrl WinHttpFreeProxyResult WinHttpFreeProxySettingsEx WinHttpFreeQueryConnectionGroupResult WinHttpGetDefaultProxyConfiguration WinHttpGetIEProxyConfigForCurrentUser WinHttpGetProxyForUrl WinHttpGetProxyForUrlEx WinHttpGetProxyResult WinHttpGetProxySettingsEx WinHttpGetProxySettingsResultEx WinHttpOpen WinHttpOpenRequest WinHttpQueryAuthSchemes WinHttpQueryConnectionGroup WinHttpQueryDataAvailable WinHttpQueryHeaders WinHttpQueryHeadersEx WinHttpQueryOption WinHttpReadData WinHttpReadDataEx WinHttpReceiveResponse WinHttpRegisterProxyChangeNotification WinHttpResetAutoProxy WinHttpSendRequest WinHttpSetCredentials WinHttpSetDefaultProxyConfiguration WinHttpSetOption WinHttpSetStatusCallback WinHttpSetTimeouts WinHttpTimeFromSystemTime WinHttpTimeToSystemTime WinHttpUnregisterProxyChangeNotification WinHttpWebSocketClose WinHttpWebSocketCompleteUpgrade WinHttpWebSocketQueryCloseStatus WinHttpWebSocketReceive WinHttpWebSocketSend WinHttpWebSocketShutdown WinHttpWriteData

Structures
HINTERNET HTTP_VERSION_INFO WINHTTP_ASYNC_RESULT WINHTTP_AUTOPROXY_OPTIONS WINHTTP_CERTIFICATE_INFO WINHTTP_CONNECTION_GROUP WINHTTP_CONNECTION_INFO WINHTTP_CREDS WINHTTP_CREDS_EX WINHTTP_CURRENT_USER_IE_PROXY_CONFIG WINHTTP_EXTENDED_HEADER WINHTTP_HEADER_NAME WINHTTP_HOST_CONNECTION_GROUP WINHTTP_MATCH_CONNECTION_GUID WINHTTP_PROXY_CHANGE_REGISTRATION_HANDLE WINHTTP_PROXY_INFO WINHTTP_PROXY_INFO_IN WINHTTP_PROXY_NETWORKING_KEY WINHTTP_PROXY_RESULT WINHTTP_PROXY_RESULT_ENTRY WINHTTP_PROXY_SETTINGS WINHTTP_PROXY_SETTINGS_EX WINHTTP_PROXY_SETTINGS_EX_MGD WINHTTP_PROXY_SETTINGS_PARAM WINHTTP_QUERY_CONNECTION_GROUP_RESULT WINHTTP_REQUEST_STATS WINHTTP_REQUEST_TIMES WINHTTP_SECURITY_INFO WINHTTP_URL_COMPONENTS WINHTTP_URL_COMPONENTS_IN WINHTTP_WEB_SOCKET_ASYNC_RESULT WINHTTP_WEB_SOCKET_STATUS