public static extern int NetGetJoinInformation( string pServer, out IntPtr ppNameBuffer, out ComputerJoinStatus pBufferType );