DhcpAddSubnetElementV5

[DllImport("dhcpsapi.dll", SetLastError = true)]
public static extern uint DhcpAddSubnetElementV5(
   IntPtr ServerIpAddress,
   uint SubnetAddress,
   ref DHCP_SUBNET_ELEMENT_DATA_V5 AddElementInfo
);

Microsoft documentation: Link

Last updated