VncClient Connect Method (String, Int32, VncClientConnectOptions)RemoteViewing
Connects to a VNC server with the specified hostname and port.

Namespace: RemoteViewing.Vnc
Assembly: RemoteViewing (in RemoteViewing.dll) Version: (

public void Connect(
	string hostname,
	int port = 5900,
	VncClientConnectOptions options = null


Type: OnlineSystem String
The name of the host to connect to.
port (Optional)
Type: OnlineSystem Int32
The port to connect on. 5900 is the usual for VNC.
options (Optional)
Type: RemoteViewing.Vnc VncClientConnectOptions
Connection options, if any. You can specify a password here.
See Also