DhcpGetVersion (dhcpsapi)
Last changed: -208.7.93.71

.
Summary
The DhcpGetVersion function returns the major and minor version numbers of the DHCP server.

C# Signature:

[DllImport("dhcpsapi.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern uint DhcpGetVersion(
    string ServerIpAddress,
    out int MajorVersion,
    out int MinorVersion
);

VB Signature:

Declare Unicode Function DhcpGetVersion Lib "Dhcpsapi" ( _
    ByVal ServerIpAddress As String, _
    ByRef MajorVersion As Integer, _
    ByRef MinorVersion As Integer) As Integer

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

ServerIpAddress (in)

Unicode string that specifies the IP address or hostname of the DHCP server.

MajorVersion (out)

Specifies the major version number of the DHCP server.

MinorVersion (out)

Specifies the minor version number of the DHCP server.

Tips & Tricks:

Completed library DHCP functions.

http://www.rupj.net/portfolio/dhcp-web-services.html

Sample Code:

Please add some!

Documentation