VncSharp

VncClient.EncryptChallenge Method 

Encrypts a challenge using the specified password. See RFB Protocol Document v. 3.8 section 6.2.2.

[Visual Basic]
Protected Function EncryptChallenge( _
   ByVal password As String, _
   ByVal challenge As Byte() _
) As Byte()
[C#]
protected byte[] EncryptChallenge(
   string password,
   byte[] challenge
);

Parameters

password
The user's password.
challenge
The challenge sent by the server.

Return Value

Returns the encrypted challenge.

See Also

VncClient Class | VncSharp Namespace