VncSharp

VncClient.Connect Method (String, Int32)

Connect to a VNC Host and determine which type of Authentication it uses. If the host uses Password Authentication, a call to Authenticate() will be required. The Port number is calculated based on the Display.

[Visual Basic]
Overloads Public Function Connect( _
   ByVal host As String, _
   ByVal display As Integer _
) As Boolean
[C#]
public bool Connect(
   string host,
   int display
);

Parameters

host
The IP Address or Host Name of the VNC Host.
display
The Display number (used on Unix hosts).

Return Value

Returns True if the VNC Host requires a Password to be sent after Connect() is called, otherwise False.

See Also

VncClient Class | VncSharp Namespace | VncClient.Connect Overload List