C# 클래스 MailKit.Security.SaslMechanismNtlm

The NTLM SASL mechanism.
A SASL mechanism based on NTLM.
상속: SaslMechanism
파일 보기 프로젝트 열기: jstedfast/MailKit 1 사용 예제들

공개 메소드들

메소드 설명
Reset ( ) : void

Resets the state of the SASL mechanism.

Resets the state of the SASL mechanism.

SaslMechanismNtlm ( Uri uri, ICredentials credentials ) : System

Initializes a new instance of the MailKit.Security.SaslMechanismNtlm class.

Creates a new NTLM SASL context.

보호된 메소드들

메소드 설명
Challenge ( byte token, int startIndex, int length ) : byte[]

Parses the server's challenge token and returns the next challenge response.

Parses the server's challenge token and returns the next challenge response.

비공개 메소드들

메소드 설명
GetChallengeResponse ( string userName, string password, string domain, byte token, int startIndex, int length ) : MessageBase
GetInitialResponse ( string domain ) : MessageBase

메소드 상세

Challenge() 보호된 메소드

Parses the server's challenge token and returns the next challenge response.
Parses the server's challenge token and returns the next challenge response.
/// The SASL mechanism is already authenticated. /// /// An error has occurred while parsing the server's challenge token. ///
protected Challenge ( byte token, int startIndex, int length ) : byte[]
token byte The server's challenge token.
startIndex int The index into the token specifying where the server's challenge begins.
length int The length of the server's challenge.
리턴 byte[]

Reset() 공개 메소드

Resets the state of the SASL mechanism.
Resets the state of the SASL mechanism.
public Reset ( ) : void
리턴 void

SaslMechanismNtlm() 공개 메소드

Initializes a new instance of the MailKit.Security.SaslMechanismNtlm class.
Creates a new NTLM SASL context.
/// is null. /// -or- /// is null. ///
public SaslMechanismNtlm ( Uri uri, ICredentials credentials ) : System
uri System.Uri The URI of the service.
credentials ICredentials The user's credentials.
리턴 System