VncControl Class

RemoteViewing
Displays the framebuffer sent from a VNC server, and allows input to be sent back.
Inheritance Hierarchy

SystemObject
  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

public class VncControl : UserControl

The VncControl type exposes the following members.

Constructors

  NameDescription
Public methodVncControl
Initializes a new instance of the VncControl.
Top
Properties

  NameDescription
Public propertyAllowClipboardSharingFromServer
If enabled, clipboard changes on the remote VNC server will alter the local clipboard.
Public propertyAllowClipboardSharingToServer
If enabled, local clipboard changes will be sent to the remote VNC server.
Public propertyAllowInput
Whether the control should send input to the server, or act only as a viewer. By default, this is true.
Public propertyAllowRemoteCursor
Whether the local cursor is allowed to be hidden. By default, this is true.
Public propertyClient
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.
Public propertySizeMode
Specifies how the screen is positioned and sized. By default, this is AutoSize.
Top
Events

  NameDescription
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 remote server.
Top
See Also

Reference