Partager via


Dynamic Host Configuration Protocol

Purpose

The Dynamic Host Configuration Protocol (DHCP) Application Programming Interface (API), also referred to as DHCP Client Options, enables Microsoft Windows clients to query specific options from DHCP servers. This enables vendor-specific options exposed through DHCP servers to be queried by Windows clients.

Developers are provided access to critical phases of DHCP processing with the DHCP Server API. With this access, developers can create customized extensions to the DHCP Server, monitor statistics, create parallel lease databases, and provide other customized solutions.

Where applicable

DHCP is a standardized protocol that enables clients to be dynamically assigned with various configuration parameters, such as an IP address, subnet mask, default gateway, and other critical network configuration information. DHCP servers centrally manage such configuration data, and are configured by network administrators with settings that are appropriate for a given network environment. DHCP servers, in turn, communicate with DHCP clients through the use of DHCP messages.

Developer audience

The DHCP API is designed for use by C/C++ programmers. Familiarity with the IP protocol suite, DHCP, and Windows networking is required.

Run-time requirements

The DHCP Server API requires Windows Server 2003 and later operating systems. The DHCP Client API requires Windows XP and later client operating systems. The APIs can be dynamically linked through Dhcpcsvc.dll and Dhcpcsvc6.dll (for client APIs), or Dhcpsapi.dll (for server APIs).

In this section

Topic Description
Overview
General information about Dynamic Host Configuration Protocol.
DHCP Client API
Documentation of DHCP Client functions.
DHCP Server Callout API
Documentation of DHCP Server Callout functions.
DHCP Server Management API
Documentation of DHCP Server functions.

DNS

Internet Protocol Helper