2025-11-28 00:35:46 +09:00

37 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Dhcp Server Show Scope Stats V4 Sample
================================
Dump statistics across all the V4 scopes on a DHCP server.
Sample Language Implementations
===============================
C
Supported OS:
===============================
  Windows Server 2003, Windows Server 2008, Windows Server 2008 R2
 
Files:
=============================================
DhcpServerScopeStatsV4.sln
DhcpServerScopeStatsV4.vcproj
DhcpServerScopeStatsV4.cpp
To build the sample using the command prompt:
=============================================
1. Open the Command Prompt window and navigate to the DHCP directory.
2. Type msbuild DhcpServerScopeStatsV4.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 DhcpServerScopeStatsV4.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 DhcpServerScopeStatsV4.exe at the command line, or double-click the icon for DhcpServerScopeStatsV4.exe to launch it from Windows Explorer.