C# Class SharpCifs.Ntlmssp.Type1Message

Represents an NTLMSSP Type-1 message.
Represents an NTLMSSP Type-1 message.
Inheritance: NtlmMessage
显示文件 Open project: brandonprry/Potato Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
Parse ( byte material ) : void
Type1Message ( ) : System

Method Details

GetDefaultDomain() public static method

Returns the default domain from the current environment.
Returns the default domain from the current environment.
public static GetDefaultDomain ( ) : string
return string

GetDefaultFlags() public static method

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
return int

GetDefaultWorkstation() public static method

Returns the default workstation from the current environment.
Returns the default workstation from the current environment.
public static GetDefaultWorkstation ( ) : string
return string

GetSuppliedDomain() public method

Returns the supplied authentication domain.
Returns the supplied authentication domain.
public GetSuppliedDomain ( ) : string
return string

GetSuppliedWorkstation() public method

Returns the supplied workstation name.
Returns the supplied workstation name.
public GetSuppliedWorkstation ( ) : string
return string

SetSuppliedDomain() public method

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.
return void

SetSuppliedWorkstation() public method

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.
return void

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

Type1Message() public method

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.
return System

Type1Message() public method

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.
return System