Namespace: CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP
Assembly: CENTREL.XIA.Network.Management.DHCP (in CENTREL.XIA.Network.Management.DHCP.dll)
Syntax
[DllImport("dhcpsapi.dll", EntryPoint = "DhcpServerQueryDnsRegCredentials", CharSet = CharSet.Unicode, ExactSpelling = false, SetLastError = true, PreserveSig = true, CallingConvention = CallingConvention.Winapi, BestFitMapping = false, ThrowOnUnmappableChar = false)]
protected static extern uint DhcpServerQueryDnsRegCredentials(
)
<PreserveSig> _
Protected Declare Unicode Function DhcpServerQueryDnsRegCredentials Lib "dhcpsapi.dll" ( _
ServerIpAddr As String, _
UnameSize As UInteger, _
Uname As StringBuilder, _
DomainSize As UInteger, _
Domain As StringBuilder _
) As UInteger
protected:
[DllImport(L"dhcpsapi.dll", EntryPoint = L"DhcpServerQueryDnsRegCredentials", CharSet = CharSet::Unicode, ExactSpelling = false, SetLastError = true, PreserveSig = true, CallingConvention = CallingConvention::Winapi, BestFitMapping = false, ThrowOnUnmappableChar = false)]
static unsigned int DhcpServerQueryDnsRegCredentials(
String^ ServerIpAddr,
unsigned int UnameSize,
StringBuilder^ Uname,
unsigned int DomainSize,
StringBuilder^ Domain
)