Connects to a VNC server with the specified hostname and port.
Namespace: RemoteViewing.VncAssembly: RemoteViewing (in RemoteViewing.dll) Version: 0.9.1.0 (0.9.1.0)
Syntax
public void Connect( string hostname, int port = 5900, VncClientConnectOptions options = null )
Parameters
- hostname
- Type: System String
The name of the host to connect to.
- port (Optional)
- Type: System 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