MailKit.Security.SaslMechanismNtlm.GetChallengeResponse C# (CSharp) Method

GetChallengeResponse() static private method

static private GetChallengeResponse ( string userName, string password, string domain, byte token, int startIndex, int length ) : MessageBase
userName string
password string
domain string
token byte
startIndex int
length int
return MailKit.Security.Ntlm.MessageBase
		static MessageBase GetChallengeResponse (string userName, string password, string domain, byte[] token, int startIndex, int length)
		{
			var type2 = new Type2Message (token, startIndex, length);
			var type3 = new Type3Message (type2, userName, string.Empty);
			type3.Password = password;
			type3.Domain = domain;

			return type3;
		}