Skip to main content
.NETFramework4.5.NETFramework4.8.NETCoreApp3.1net6.0net7.0net8.0-windows7.0

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

Published
Apr 30, 2024
2y ago
Total Downloads
55.0K
55,017

Install

dotnet add package Vanara.PInvoke.Dhcp --version 4.0.1
ProductVersions
.NET
net6.0net7.0net8.0-windows7.0
.NET Standard
netstandard2.0
Other
.NETCoreApp3.1.NETFramework4.5.NETFramework4.8

README

Vanara

Vanara.PInvoke.Dhcp NuGet Package

Version Build status

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 AppVeyor 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

Changes from Previous Version

No structural changes between v4.0.0 and v4.0.1.

Adoption Assessment

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 7 target frameworks; confirm the exact target used by your application.The published metadata declares 14 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.