C# Class RemoteViewing.Vnc.Server.PasswordProvidedEventArgs

Provides data for the VncServerSession.PasswordProvided event.
Inheritance: System.EventArgs
Datei anzeigen Open project: qmfrederik/remoteviewing Class Usage Examples

Public Methods

Method Description
Accept ( ) : bool

Successfully authenticates the client.

Accept ( byte password ) : bool

Authenticates the client, if the password bytes match.

Accept ( char password ) : bool

Authenticates the client, if the password characters match.

PasswordProvidedEventArgs ( byte challenge, byte response ) : System

Initializes a new instance of the PasswordProvidedEventArgs class.

Private Methods

Method Description
Test ( byte response ) : bool

Method Details

Accept() public method

Successfully authenticates the client.
public Accept ( ) : bool
return bool

Accept() public method

Authenticates the client, if the password bytes match.
public Accept ( byte password ) : bool
password byte The bytes of the password.
return bool

Accept() public method

Authenticates the client, if the password characters match.
public Accept ( char password ) : bool
password char The characters of the password.
return bool

PasswordProvidedEventArgs() public method

Initializes a new instance of the PasswordProvidedEventArgs class.
public PasswordProvidedEventArgs ( byte challenge, byte response ) : System
challenge byte The VNC the server sent.
response byte The bytes of the response from the client.
return System