Connects to a VNC server with the specified hostname and port.
Namespace: RemoteViewing.Vnc
Assembly: RemoteViewing (in RemoteViewing.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Connect( string hostname, int port = 5900, VncClientConnectOptions options = null )
Parameters
- hostname
- Type: SystemString
The name of the host to connect to. - port (Optional)
- Type: SystemInt32
The port to connect on. 5900 is the usual for VNC. - options (Optional)
- Type: RemoteViewing.VncVncClientConnectOptions
Connection options, if any. You can specify a password here.
See Also