VncServerSession EventsRemoteViewing
The VncServerSession type exposes the following members.
Events

  NameDescription
Public eventClosed
Occurs when the VNC client is disconnected.
Public eventConnected
Occurs when the VNC client has successfully connected to the server.
Public eventConnectionFailed
Occurs when the VNC client has failed to connect to the server.
Public eventCreatingDesktop
Occurs when the client requests access to the desktop. It may request exclusive or shared access -- this event will relay that information.
Public eventFramebufferCapturing
Occurs when the framebuffer needs to be captured. If you have not called SetFramebufferSource(IVncFramebufferSource), alter the framebuffer in response to this event. FramebufferUpdateRequestLock is held automatically while this event is raised.
Public eventFramebufferUpdating
Occurs when the framebuffer needs to be updated. If you do not set OnlineHandled on FramebufferUpdatingEventArgs, VncServerSession will determine the updated regions itself. FramebufferUpdateRequestLock is held automatically while this event is raised.
Public eventKeyChanged
Occurs when a key has been pressed or released.
Public eventPasswordProvided
Occurs when the VNC client provides a password. Respond to this event by accepting or rejecting the password.
Public eventPointerChanged
Occurs on a mouse movement, button click, etc.
Public eventRemoteClipboardChanged
Occurs when the clipboard changes on the remote client. If you are implementing clipboard integration, use this to set the local clipboard.
Back to Top
See Also