C# Класс SharpCifs.Ntlmssp.Type1Message

Represents an NTLMSSP Type-1 message.
Represents an NTLMSSP Type-1 message.
Наследование: NtlmMessage
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetDefaultDomain ( ) : string

Returns the default domain from the current environment.

Returns the default domain from the current environment.

GetDefaultFlags ( ) : int

Returns the default flags for a generic Type-1 message in the current environment.

Returns the default flags for a generic Type-1 message in the current environment.

GetDefaultWorkstation ( ) : string

Returns the default workstation from the current environment.

Returns the default workstation from the current environment.

GetSuppliedDomain ( ) : string

Returns the supplied authentication domain.

Returns the supplied authentication domain.

GetSuppliedWorkstation ( ) : string

Returns the supplied workstation name.

Returns the supplied workstation name.

SetSuppliedDomain ( string suppliedDomain ) : void

Sets the supplied authentication domain for this message.

Sets the supplied authentication domain for this message.

SetSuppliedWorkstation ( string suppliedWorkstation ) : void

Sets the supplied workstation name for this message.

Sets the supplied workstation name for this message.

ToByteArray ( ) : byte[]
ToString ( ) : string
Type1Message ( byte material ) : System

Creates a Type-1 message using the given raw Type-1 material.

Creates a Type-1 message using the given raw Type-1 material.

Type1Message ( int flags, string suppliedDomain, string suppliedWorkstation ) : System

Creates a Type-1 message with the specified parameters.

Creates a Type-1 message with the specified parameters.

Приватные методы

Метод Описание
Parse ( byte material ) : void
Type1Message ( ) : System

Описание методов

GetDefaultDomain() публичный статический Метод

Returns the default domain from the current environment.
Returns the default domain from the current environment.
public static GetDefaultDomain ( ) : string
Результат string

GetDefaultFlags() публичный статический Метод

Returns the default flags for a generic Type-1 message in the current environment.
Returns the default flags for a generic Type-1 message in the current environment.
public static GetDefaultFlags ( ) : int
Результат int

GetDefaultWorkstation() публичный статический Метод

Returns the default workstation from the current environment.
Returns the default workstation from the current environment.
public static GetDefaultWorkstation ( ) : string
Результат string

GetSuppliedDomain() публичный Метод

Returns the supplied authentication domain.
Returns the supplied authentication domain.
public GetSuppliedDomain ( ) : string
Результат string

GetSuppliedWorkstation() публичный Метод

Returns the supplied workstation name.
Returns the supplied workstation name.
public GetSuppliedWorkstation ( ) : string
Результат string

SetSuppliedDomain() публичный Метод

Sets the supplied authentication domain for this message.
Sets the supplied authentication domain for this message.
public SetSuppliedDomain ( string suppliedDomain ) : void
suppliedDomain string The supplied domain for this message.
Результат void

SetSuppliedWorkstation() публичный Метод

Sets the supplied workstation name for this message.
Sets the supplied workstation name for this message.
public SetSuppliedWorkstation ( string suppliedWorkstation ) : void
suppliedWorkstation string The supplied workstation for this message.
Результат void

ToByteArray() публичный Метод

public ToByteArray ( ) : byte[]
Результат byte[]

ToString() публичный Метод

public ToString ( ) : string
Результат string

Type1Message() публичный Метод

Creates a Type-1 message using the given raw Type-1 material.
Creates a Type-1 message using the given raw Type-1 material.
If an error occurs while parsing the material. ///
public Type1Message ( byte material ) : System
material byte The raw Type-1 material used to construct this message.
Результат System

Type1Message() публичный Метод

Creates a Type-1 message with the specified parameters.
Creates a Type-1 message with the specified parameters.
public Type1Message ( int flags, string suppliedDomain, string suppliedWorkstation ) : System
flags int The flags to apply to this message.
suppliedDomain string The supplied authentication domain.
suppliedWorkstation string The supplied workstation name.
Результат System