C# Класс MailKit.Security.SaslMechanismNtlm

The NTLM SASL mechanism.
A SASL mechanism based on NTLM.
Наследование: SaslMechanism
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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