Vanara.PInvoke.WinHTTP 3.4.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.WinHTTP --version 3.4.2                
NuGet\Install-Package Vanara.PInvoke.WinHTTP -Version 3.4.2                
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="3.4.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.WinHTTP --version 3.4.2                
#r "nuget: Vanara.PInvoke.WinHTTP, 3.4.2"                
#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=3.4.2

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

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<br>WinHttpAddRequestHeadersEx<br>WinHttpCheckPlatform<br>WinHttpCloseHandle<br>WinHttpConnect<br>WinHttpCrackUrl<br>WinHttpCreateProxyResolver<br>WinHttpCreateUrl<br>WinHttpDetectAutoProxyConfigUrl<br>WinHttpFreeProxyResult<br>WinHttpFreeQueryConnectionGroupResult<br>WinHttpGetDefaultProxyConfiguration<br>WinHttpGetIEProxyConfigForCurrentUser<br>WinHttpGetProxyForUrl<br>WinHttpGetProxyForUrlEx<br>WinHttpGetProxyResult<br>WinHttpOpen<br>WinHttpOpenRequest<br>WinHttpQueryAuthSchemes<br>WinHttpQueryConnectionGroup<br>WinHttpQueryDataAvailable<br>WinHttpQueryHeaders<br>WinHttpQueryHeadersEx<br>WinHttpQueryOption<br>WinHttpReadData<br>WinHttpReadDataEx<br>WinHttpReceiveResponse<br>WinHttpResetAutoProxy<br>WinHttpSendRequest<br>WinHttpSetCredentials<br>WinHttpSetDefaultProxyConfiguration<br>WinHttpSetOption<br>WinHttpSetStatusCallback<br>WinHttpSetTimeouts<br>WinHttpTimeFromSystemTime<br>WinHttpTimeToSystemTime<br>WinHttpWebSocketClose<br>WinHttpWebSocketCompleteUpgrade<br>WinHttpWebSocketQueryCloseStatus<br>WinHttpWebSocketReceive<br>WinHttpWebSocketSend<br>WinHttpWebSocketShutdown<br>WinHttpWriteData<br> ASYNC_RESULT<br>HTTP_STATUS<br>ICU<br>INTERNET_SCHEME<br>SECURITY_FLAG<br>WINHTTP_ACCESS_TYPE<br>WINHTTP_ADDREQ_FLAG<br>WINHTTP_AUTH_SCHEME<br>WINHTTP_AUTH_TARGET<br>WINHTTP_AUTO_DETECT_TYPE<br>WINHTTP_AUTOLOGON_SECURITY_LEVEL<br>WINHTTP_AUTOPROXY<br>WINHTTP_CALLBACK_FLAG<br>WINHTTP_CALLBACK_STATUS<br>WINHTTP_CALLBACK_STATUS_FLAG<br>WINHTTP_DECOMPRESSION_FLAG<br>WINHTTP_DISABLE<br>WINHTTP_DISABLE_PASSPORT<br>WINHTTP_ENABLE_SSL<br>WINHTTP_EXTENDED_HEADER_FLAG<br>WINHTTP_FLAG_SECURE_PROTOCOL<br>WINHTTP_HANDLE_TYPE<br>WINHTTP_MATCH_CONNECTION_GUID_FLAG<br>WINHTTP_OPEN_FLAG<br>WINHTTP_OPENREQ_FLAG<br>WINHTTP_OPTION<br>WINHTTP_OPTION_REDIRECT_POLICY<br>WINHTTP_PROTOCOL_FLAG<br>WINHTTP_QUERY<br>WINHTTP_QUERY_CONNECTION_GROUP_FLAG<br>WINHTTP_READ_DATA_EX_FLAG<br>WINHTTP_REQUEST_STAT_ENTRY<br>WINHTTP_REQUEST_STAT_FLAG<br>WINHTTP_REQUEST_TIME_ENTRY<br>WINHTTP_RESET<br>WINHTTP_SPN<br>WINHTTP_WEB_SOCKET_BUFFER_TYPE<br>WINHTTP_WEB_SOCKET_CLOSE_STATUS<br>WINHTTP_WEB_SOCKET_OPERATION<br>WinHttpRequestAutoLogonPolicy<br>WinHttpRequestOption<br><br><br> HINTERNET<br>HTTP_VERSION_INFO<br>WINHTTP_ASYNC_RESULT<br>WINHTTP_AUTOPROXY_OPTIONS<br>WINHTTP_CERTIFICATE_INFO<br>WINHTTP_CONNECTION_GROUP<br>WINHTTP_CONNECTION_INFO<br>WINHTTP_CREDS<br>WINHTTP_CREDS_EX<br>WINHTTP_CURRENT_USER_IE_PROXY_CONFIG<br>WINHTTP_EXTENDED_HEADER<br>WINHTTP_HEADER_NAME<br>WINHTTP_HOST_CONNECTION_GROUP<br>WINHTTP_MATCH_CONNECTION_GUID<br>WINHTTP_PROXY_INFO<br>WINHTTP_PROXY_INFO_IN<br>WINHTTP_PROXY_RESULT<br>WINHTTP_PROXY_RESULT_ENTRY<br>WINHTTP_PROXY_SETTINGS<br>WINHTTP_PROXY_NETWORKING_KEY<br>WINHTTP_QUERY_CONNECTION_GROUP_RESULT<br>WINHTTP_REQUEST_STATS<br>WINHTTP_REQUEST_TIMES<br>WINHTTP_SECURITY_INFO<br>WINHTTP_URL_COMPONENTS<br>WINHTTP_URL_COMPONENTS_IN<br>WINHTTP_WEB_SOCKET_ASYNC_RESULT<br>WINHTTP_WEB_SOCKET_STATUS<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
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 was computed.  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. 
.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 295 9/13/2024
4.0.3 174 8/5/2024
4.0.2 179 6/24/2024
4.0.1 302 4/30/2024
4.0.0 122 3/29/2024
4.0.0-beta2 173 1/22/2024
4.0.0-beta 151 11/20/2023
3.4.17 425 10/18/2023
3.4.16 549 8/7/2023
3.4.15 610 5/18/2023
3.4.14 1,458 4/15/2023
3.4.13 1,061 2/4/2023
3.4.12 1,551 1/15/2023
3.4.11 593 11/15/2022
3.4.10 670 10/25/2022
3.4.9 729 10/3/2022
3.4.8 752 9/16/2022
3.4.7 766 9/3/2022
3.4.6 803 8/7/2022
3.4.5 832 7/17/2022
3.4.4 776 7/5/2022
3.4.3 837 6/14/2022
3.4.2 833 5/13/2022
3.4.1 826 5/5/2022
3.4.0 893 3/14/2022

Currently implements:

Functions
WinHttpAddRequestHeaders WinHttpAddRequestHeadersEx WinHttpCheckPlatform WinHttpCloseHandle WinHttpConnect WinHttpCrackUrl WinHttpCreateProxyResolver WinHttpCreateUrl WinHttpDetectAutoProxyConfigUrl WinHttpFreeProxyResult WinHttpFreeQueryConnectionGroupResult WinHttpGetDefaultProxyConfiguration WinHttpGetIEProxyConfigForCurrentUser WinHttpGetProxyForUrl WinHttpGetProxyForUrlEx WinHttpGetProxyResult WinHttpOpen WinHttpOpenRequest WinHttpQueryAuthSchemes WinHttpQueryConnectionGroup WinHttpQueryDataAvailable WinHttpQueryHeaders WinHttpQueryHeadersEx WinHttpQueryOption WinHttpReadData WinHttpReadDataEx WinHttpReceiveResponse WinHttpResetAutoProxy WinHttpSendRequest WinHttpSetCredentials WinHttpSetDefaultProxyConfiguration WinHttpSetOption WinHttpSetStatusCallback WinHttpSetTimeouts WinHttpTimeFromSystemTime WinHttpTimeToSystemTime 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_INFO WINHTTP_PROXY_INFO_IN WINHTTP_PROXY_NETWORKING_KEY WINHTTP_PROXY_RESULT WINHTTP_PROXY_RESULT_ENTRY WINHTTP_PROXY_SETTINGS 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