SharpCifs.Smb.SmbSession.GetChallenge C# (CSharp) Method

GetChallenge() public static method

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;
		}

Same methods

SmbSession::GetChallenge ( UniAddress dc ) : byte[]