public static GetChallenge ( UniAddress dc, int port ) : byte[] | ||
dc | UniAddress | |
port | int | |
return | byte[] |
public static byte[] GetChallenge(UniAddress dc, int port)
{
SmbTransport trans = SmbTransport.GetSmbTransport(dc, port);
trans.Connect();
return trans.Server.EncryptionKey;
}
SmbSession::GetChallenge ( UniAddress dc ) : byte[] |