Displays the framebuffer sent from a VNC server, and allows input to be sent back.
Inheritance Hierarchy
SystemMarshalByRefObject
System.ComponentModelComponent
System.Windows.FormsControl
System.Windows.FormsScrollableControl
System.Windows.FormsContainerControl
System.Windows.FormsUserControl
RemoteViewing.Windows.FormsVncControl
Namespace: RemoteViewing.Windows.Forms
Assembly: RemoteViewing.Windows.Forms (in RemoteViewing.Windows.Forms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The VncControl type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VncControl |
Initializes a new instance of the VncControl.
|
Properties
| Name | Description | |
|---|---|---|
| AllowClipboardSharingFromServer |
If enabled, clipboard changes on the remote VNC server will alter the local clipboard.
| |
| AllowClipboardSharingToServer |
If enabled, local clipboard changes will be sent to the remote VNC server.
| |
| AllowInput |
Whether the control should send input to the server, or act only as a viewer.
By default, this is true.
| |
| AllowRemoteCursor |
Whether the local cursor is allowed to be hidden.
By default, this is true.
| |
| Client |
The VncClient being interacted with.
By default, this is a new instance.
Call Connect(String, Int32, VncClientConnectOptions)
on it to get things up and running quickly.
| |
| SizeMode |
Specifies how the screen is positioned and sized.
By default, this is AutoSize.
|
Events
| Name | Description | |
|---|---|---|
| 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 remote server.
|
See Also