[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern uint NetRemoteComputerSupports( string UncServerName, uint SupportLevel, uint SupportMask );
Microsoft documentation: Link
Last updated 1 year ago