VncSharp

RemoteDesktop.Authenticate Method 

Authenticate with the VNC Host using a user supplied password.

[Visual Basic]
Public Sub Authenticate( _
   ByVal password As String _
)
[C#]
public void Authenticate(
   string password
);

Parameters

password
The user's password.

Exceptions

Exception TypeCondition
InvalidOperationExceptionThrown if the VNC Host does not require password authentication. This method should only be called after Connect() returns True.
NullReferenceExceptionThrown if the password is null.

See Also

RemoteDesktop Class | VncSharp Namespace