The VncClient type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| VncClient |
Initializes a new instance of the VncClient class.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the connection with the remote server.
| |
| Connect(Stream, VncClientConnectOptions) |
Connects to a VNC server.
| |
| Connect(String, Int32, VncClientConnectOptions) |
Connects to a VNC server with the specified hostname and port.
| |
| SendKeyEvent |
Sends a key event to the VNC server to indicate a key has been pressed or released.
| |
| SendLocalClipboardChange |
Notifies the server that the local clipboard has changed.
If you are implementing clipboard integration, use this to set the remote clipboard.
| |
| SendPointerEvent |
Sends a pointer event to the VNC server to indicate mouse motion, a button click, etc.
|
Properties
| Name | Description | |
|---|---|---|
| Framebuffer |
The framebuffer for the VNC session.
| |
| IsConnected | true if the client is connected to a server.
| |
| MaxUpdateRate |
The max rate to request framebuffer updates at, in frames per second.
The default is 15.
| |
| ServerVersion |
The protocol version of the server.
| |
| UserData |
Store anything you want here.
|
Events
| Name | Description | |
|---|---|---|
| Bell |
Occurs when a bell occurs on the remote server.
| |
| Closed |
Occurs when the VNC client is disconnected.
| |
| Connected |
Occurs when the VNC client has successfully connected to the remote server.
| |
| ConnectionFailed |
Occurs when the VNC client has failed to connect to the server.
| |
| FramebufferChanged |
Occurs when the framebuffer changes.
| |
| RemoteClipboardChanged |
Occurs when the clipboard changes on the remote server.
If you are implementing clipboard integration, use this to set the local clipboard.
|
See Also