VncSharp

RfbProtocol.ReadSecurityChallenge Method 

When the server uses Security Type 2 (i.e., VNC Authentication), a Challenge/Response mechanism is used to authenticate the user. See RFB Doc v. 3.8 section 6.1.2 and 6.2.2.

[Visual Basic]
Public Function ReadSecurityChallenge() As Byte()
[C#]
public byte[] ReadSecurityChallenge();

Return Value

Returns the 16 byte Challenge sent by the server.

See Also

RfbProtocol Class | VncSharp Namespace