37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
Dhcp Server Show Leases V6 Sample
|
||
================================
|
||
Dump IPv6 leases across all the scopes configured on a DHCP server.
|
||
|
||
Sample Language Implementations
|
||
===============================
|
||
C
|
||
|
||
Supported OS:
|
||
===============================
|
||
Windows Server 2008, Windows Server 2008 R2
|
||
|
||
Files:
|
||
=============================================
|
||
DhcpServerShowLeasesV6.sln
|
||
DhcpServerShowLeasesV6.vcproj
|
||
DhcpServerShowLeasesV6.cpp
|
||
|
||
|
||
To build the sample using the command prompt:
|
||
=============================================
|
||
1. Open the Command Prompt window and navigate to the DHCP directory.
|
||
2. Type msbuild DhcpServerShowLeasesV6.sln.
|
||
|
||
|
||
To build the sample using Visual Studio (preferred method):
|
||
===========================================================
|
||
1. Open Windows Explorer and navigate to the DHCP directory.
|
||
2. Double-click the icon for the DhcpServerShowLeasesV6.sln file to open the file in Visual Studio.
|
||
3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
|
||
|
||
|
||
To run the sample:
|
||
=================
|
||
1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
|
||
2. Type DhcpServerShowLeasesV6.exe at the command line, or double-click the icon for DhcpServerShowLeasesV6.exe to launch it from Windows Explorer.
|