Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

DhcpGetVersion (dhcpsapi)
 
.
Summary
The DhcpGetVersion function returns the major and minor version numbers of the DHCP server.
Summary
TODO - a short description

C# Signature:

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

VB Signature:

Declare Unicode Function DhcpGetVersion Lib "Dhcpsapi" ( _
    ByVal ServerIpAddress As String, _
    ByRef MajorVersion As Integer, _
    ByRef MinorVersion As Integer) As Integer
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.

None.

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!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions