Vanara.PInvoke.Dhcp
4.2.0
Prefix Reserved
See the version list below for details.
dotnet add package Vanara.PInvoke.Dhcp --version 4.2.0
NuGet\Install-Package Vanara.PInvoke.Dhcp -Version 4.2.0
<PackageReference Include="Vanara.PInvoke.Dhcp" Version="4.2.0" />
<PackageVersion Include="Vanara.PInvoke.Dhcp" Version="4.2.0" />
<PackageReference Include="Vanara.PInvoke.Dhcp" />
paket add Vanara.PInvoke.Dhcp --version 4.2.0
#r "nuget: Vanara.PInvoke.Dhcp, 4.2.0"
#:package Vanara.PInvoke.Dhcp@4.2.0
#addin nuget:?package=Vanara.PInvoke.Dhcp&version=4.2.0
#tool nuget:?package=Vanara.PInvoke.Dhcp&version=4.2.0
Vanara.PInvoke.Dhcp NuGet Package
PInvoke API (methods, structures and constants) imported from Windows Dhcpcsvc.dll and Dhcpcsvc6.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 MyGet build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.Dhcp
Functions | Enumerations | Structures |
---|---|---|
DhcpCApiCleanup DhcpCApiInitialize DhcpDeRegisterParamChange DhcpGetOriginalSubnetMask DhcpRegisterParamChange DhcpRemoveDNSRegistrations DhcpRequestParams DhcpUndoRequestParams Dhcpv6CApiCleanup Dhcpv6CApiInitialize Dhcpv6ReleasePrefix Dhcpv6RenewPrefix Dhcpv6RequestParams Dhcpv6RequestPrefix McastApiCleanup McastApiStartup McastEnumerateScopes McastGenUID McastReleaseAddress McastRenewAddress McastRequestAddress | DHCP_OPTION_ID DHCPCAPI_REQUEST NetBIOSNodeType DhcpMessageType DHCPV6_OPTION_ID StatusCode | DHCP_IP_ADDRESS DHCPAPI_PARAMS DHCPCAPI_CLASSID DHCPCAPI_PARAMS_ARRAY DHCPV6CAPI_CLASSID DHCPV6CAPI_PARAMS DHCPV6CAPI_PARAMS_ARRAY DHCPV6Prefix DHCPV6PrefixLeaseInformation IPNG_ADDRESS MCAST_CLIENT_UID MCAST_LEASE_REQUEST MCAST_LEASE_RESPONSE MCAST_SCOPE_CTX MCAST_SCOPE_ENTRY |
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 is compatible. |
.NET Framework | 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. |
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
.NETFramework 4.8
- System.Memory (>= 4.5.5)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Memory (>= 4.5.5)
- System.Security.AccessControl (>= 6.0.1)
- System.ValueTuple (>= 4.6.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
.NETStandard 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Memory (>= 4.5.5)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
net5.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
net6.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
net7.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
net8.0-windows7.0
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
-
net9.0-windows7.0
- Vanara.Core (>= 4.2.0)
- Vanara.PInvoke.Shared (>= 4.2.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Vanara.PInvoke.Dhcp:
Package | Downloads |
---|---|
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries. |
|
Vanara.Net
Abstracted classes around Win32 networking functions to provide simplified and object-oriented access to key networking capabilities like DNS, DHCP, filtering, access, and discovery. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
4.2.1 | 181 | 9/9/2025 |
4.2.0 | 177 | 8/25/2025 |
4.1.6 | 192 | 6/20/2025 |
4.1.5 | 159 | 6/20/2025 |
4.1.4 | 196 | 6/7/2025 |
4.1.3 | 493 | 4/24/2025 |
4.1.2 | 277 | 4/16/2025 |
4.1.1 | 378 | 3/7/2025 |
4.1.0 | 337 | 3/7/2025 |
4.0.6 | 201 | 2/24/2025 |
4.0.5 | 192 | 2/8/2025 |
4.0.4 | 633 | 9/13/2024 |
4.0.3 | 217 | 8/5/2024 |
4.0.2 | 254 | 6/24/2024 |
4.0.1 | 494 | 4/30/2024 |
4.0.0 | 231 | 3/29/2024 |
4.0.0-beta2 | 311 | 1/22/2024 |
4.0.0-beta | 413 | 11/20/2023 |
3.4.17 | 752 | 10/18/2023 |
3.4.16 | 729 | 8/7/2023 |
3.4.15 | 691 | 5/18/2023 |
3.4.14 | 738 | 4/15/2023 |
3.4.13 | 1,000 | 2/4/2023 |
3.4.12 | 1,037 | 1/15/2023 |
3.4.11 | 1,207 | 11/15/2022 |
3.4.10 | 1,341 | 10/25/2022 |
3.4.9 | 1,362 | 10/3/2022 |
3.4.8 | 1,388 | 9/16/2022 |
3.4.7 | 1,188 | 9/3/2022 |
3.4.6 | 1,239 | 8/7/2022 |
3.4.5 | 1,283 | 7/17/2022 |
3.4.4 | 1,176 | 7/5/2022 |
3.4.3 | 1,287 | 6/14/2022 |
3.4.2 | 1,242 | 5/13/2022 |
3.4.1 | 1,258 | 5/5/2022 |
3.4.0 | 1,349 | 3/14/2022 |
3.3.15 | 905 | 12/27/2021 |
3.3.14 | 1,027 | 10/26/2021 |
3.3.13 | 1,011 | 9/30/2021 |
3.3.12 | 1,027 | 8/30/2021 |
3.3.11 | 979 | 7/22/2021 |
3.3.10 | 1,027 | 6/4/2021 |
3.3.9 | 1,017 | 5/7/2021 |
3.3.8 | 1,038 | 4/7/2021 |
3.3.7 | 1,050 | 3/24/2021 |
3.3.6 | 1,030 | 3/19/2021 |
3.3.5 | 969 | 3/1/2021 |
3.3.4 | 1,006 | 2/11/2021 |
3.3.3 | 1,007 | 2/3/2021 |
3.3.2 | 1,068 | 1/21/2021 |
3.3.1 | 1,112 | 1/20/2021 |
3.3.0 | 1,202 | 11/20/2020 |
Currently implements:
Functions
DhcpCApiCleanup DhcpCApiInitialize DhcpDeRegisterParamChange DhcpGetOriginalSubnetMask DhcpRegisterParamChange DhcpRemoveDNSRegistrations DhcpRequestParams DhcpUndoRequestParams Dhcpv6CApiCleanup Dhcpv6CApiInitialize Dhcpv6ReleasePrefix Dhcpv6RenewPrefix Dhcpv6RequestParams Dhcpv6RequestPrefix McastApiCleanup McastApiStartup McastEnumerateScopes McastGenUID McastReleaseAddress McastRenewAddress McastRequestAddress
Structures
DHCPAPI_PARAMS DHCPCAPI_CLASSID DHCPCAPI_PARAMS_ARRAY DHCPV6CAPI_CLASSID DHCPV6CAPI_PARAMS DHCPV6CAPI_PARAMS_ARRAY DHCPV6Prefix DHCPV6PrefixLeaseInformation DHCP_IP_ADDRESS IPNG_ADDRESS MCAST_CLIENT_UID MCAST_LEASE_REQUEST MCAST_LEASE_RESPONSE MCAST_SCOPE_CTX MCAST_SCOPE_ENTRY