VncSharp

RfbProtocol.ReadSecurityFailureReason Method 

If the server has rejected the connection during Authentication, a reason is given. See RFB Doc v. 3.8 section 6.1.2.

[Visual Basic]
Public Function ReadSecurityFailureReason() As String
[C#]
public string ReadSecurityFailureReason();

Return Value

Returns a string containing the reason for the server rejecting the connection.

See Also

RfbProtocol Class | VncSharp Namespace