VncClient Class

RemoteViewing
Connects to a remote VNC server and interacts with it.
Inheritance Hierarchy

SystemObject
  RemoteViewing.VncVncClient

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

public class VncClient

The VncClient type exposes the following members.

Constructors

  NameDescription
Public methodVncClient
Initializes a new instance of the VncClient class.
Top
Properties

  NameDescription
Public propertyFramebuffer
The framebuffer for the VNC session.
Public propertyIsConnected
true if the client is connected to a server.
Public propertyMaxUpdateRate
The max rate to request framebuffer updates at, in frames per second. The default is 15.
Public propertyServerVersion
The protocol version of the server.
Public propertyUserData
Store anything you want here.
Top
Methods

  NameDescription
Public methodClose
Closes the connection with the remote server.
Public methodConnect(Stream, VncClientConnectOptions)
Connects to a VNC server.
Public methodConnect(String, Int32, VncClientConnectOptions)
Connects to a VNC server with the specified hostname and port.
Public methodSendKeyEvent
Sends a key event to the VNC server to indicate a key has been pressed or released.
Public methodSendLocalClipboardChange
Notifies the server that the local clipboard has changed. If you are implementing clipboard integration, use this to set the remote clipboard.
Public methodSendPointerEvent
Sends a pointer event to the VNC server to indicate mouse motion, a button click, etc.
Top
Events

  NameDescription
Public eventBell
Occurs when a bell occurs on the remote server.
Public eventClosed
Occurs when the VNC client is disconnected.
Public eventConnected
Occurs when the VNC client has successfully connected to the remote server.
Public eventConnectionFailed
Occurs when the VNC client has failed to connect to the server.
Public eventFramebufferChanged
Occurs when the framebuffer changes.
Public eventRemoteClipboardChanged
Occurs when the clipboard changes on the remote server. If you are implementing clipboard integration, use this to set the local clipboard.
Top
See Also

Reference