DsGetSiteName
[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern uint DsGetSiteName(
string ComputerName,
out IntPtr SiteName
);
Microsoft documentation: Link
Last updated
[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern uint DsGetSiteName(
string ComputerName,
out IntPtr SiteName
);
Microsoft documentation: Link
Last updated