Skip to main content
Vanara.PInvoke.Ws2_32 package icon

Vanara.PInvoke.Ws2_32

PInvoke API (methods, structures and constants) for WinSock and WinSock2 imported from Windows Ws2_32.dll.

Total Downloads
421.0K
421,004
Published
Jun 7, 2025
Latest stable version

Install

.NET CLI
dotnet add package Vanara.PInvoke.Ws2_32 --version 4.1.4
Package Manager Console
Install-Package Vanara.PInvoke.Ws2_32 -Version 4.1.4
PackageReference
<PackageReference Include="Vanara.PInvoke.Ws2_32" Version="4.1.4" />

Frameworks

.NETFramework4.8 .NETCoreApp3.1 net5.0 net6.0 net7.0 net8.0-windows7.0 net9.0-windows7.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Vanara.PInvoke.Kernel32
.NETFramework4.8
[4.1.4, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
[4.1.4, )
Vanara.PInvoke.Kernel32
net8.0-windows7.0
[4.1.4, )
Vanara.PInvoke.Kernel32
net9.0-windows7.0
[4.1.4, )
[4.1.4, )
[4.1.4, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 9 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.