[DllImport("netapi32.dll", SetLastError = true)] public static extern uint DsAddressToSiteNames( string ComputerName, uint EntryCount, SOCKET_ADDRESS[] SocketAddresses, out IntPtr SiteNames );
Microsoft documentation: Link
Last updated 1 year ago