Method | Description | |
---|---|---|
Bell ( ) : void |
Tells the client to play a bell sound.
|
|
Close ( ) : void |
Closes the connection with the remote client.
|
|
Connect ( Stream stream, |
Starts a session with a VNC client.
|
|
FramebufferChanged ( ) : void |
Notifies the framebuffer update thread to check for recent changes.
|
|
FramebufferManualBeginUpdate ( ) : void |
Begins a manual framebuffer update. Do not call this method without holding VncServerSession.FramebufferUpdateRequestLock.
|
|
FramebufferManualCopyRegion ( VncRectangle target, int sourceX, int sourceY ) : void |
Queues an update corresponding to one region of the framebuffer being copied to another. Do not call this method without holding VncServerSession.FramebufferUpdateRequestLock. |
|
FramebufferManualEndUpdate ( ) : bool |
Completes a manual framebuffer update. Do not call this method without holding VncServerSession.FramebufferUpdateRequestLock. |
|
FramebufferManualInvalidate ( VncRectangle region ) : void |
Queues an update for the specified region. Do not call this method without holding VncServerSession.FramebufferUpdateRequestLock.
|
|
FramebufferManualInvalidateAll ( ) : void |
Queues an update for the entire framebuffer. Do not call this method without holding VncServerSession.FramebufferUpdateRequestLock.
|
|
SendLocalClipboardChange ( string data ) : void |
Notifies the client that the local clipboard has changed. If you are implementing clipboard integration, use this to set the remote clipboard.
|
|
SetFramebufferSource ( IVncFramebufferSource source ) : void |
Sets the framebuffer source.
|
|
VncServerSession ( ) : RemoteViewing.Logging |
Initializes a new instance of the VncServerSession class.
|
Method | Description | |
---|---|---|
OnClosed ( ) : void |
Raises the Closed event.
|
|
OnConnected ( ) : void |
Raises the Connected event.
|
|
OnConnectionFailed ( ) : void |
Raises the ConnectionFailed event.
|
|
OnCreatingDesktop ( CreatingDesktopEventArgs e ) : void |
Raises the CreatingDesktop event.
|
|
OnFramebufferCapturing ( ) : void |
Raises the FramebufferCapturing event.
|
|
OnFramebufferUpdating ( FramebufferUpdatingEventArgs e ) : void |
Raises the FramebufferUpdating event.
|
|
OnKeyChanged ( KeyChangedEventArgs e ) : void |
Raises the KeyChanged event.
|
|
OnPasswordProvided ( PasswordProvidedEventArgs e ) : void |
Raises the PasswordProvided event.
|
|
OnPointerChanged ( PointerChangedEventArgs e ) : void |
Raises the PointerChanged event.
|
|
OnRemoteClipboardChanged ( RemoteClipboardChangedEventArgs e ) : void |
Raises the RemoteClipboardChanged event.
|
Method | Description | |
---|---|---|
AddRegion ( VncRectangle region, VncEncoding encoding, byte contents ) : void | ||
FramebufferSendChanges ( ) : bool | ||
HandleFramebufferUpdateRequest ( ) : void | ||
HandleKeyEvent ( ) : void | ||
HandlePointerEvent ( ) : void | ||
HandleReceiveClipboardData ( ) : void | ||
HandleSetEncodings ( ) : void | ||
HandleSetPixelFormat ( ) : void | ||
InitFramebufferEncoder ( ) : void | ||
NegotiateDesktop ( ) : void | ||
NegotiateEncodings ( ) : void | ||
NegotiateSecurity ( AuthenticationMethod methods ) : void | ||
NegotiateVersion ( AuthenticationMethod &methods ) : void | ||
ThreadMain ( ) : void |
public Connect ( Stream stream, |
||
stream | Stream | The stream containing the connection. |
options | Session options, if any. | |
return | void |
public FramebufferManualBeginUpdate ( ) : void | ||
return | void |
public FramebufferManualCopyRegion ( VncRectangle target, int sourceX, int sourceY ) : void | ||
target | VncRectangle |
/// The updated |
sourceX | int | /// The X coordinate of the source. /// |
sourceY | int | /// The Y coordinate of the source. /// |
return | void |
public FramebufferManualInvalidate ( VncRectangle region ) : void | ||
region | VncRectangle | The region to invalidate. |
return | void |
public FramebufferManualInvalidateAll ( ) : void | ||
return | void |
protected OnCreatingDesktop ( CreatingDesktopEventArgs e ) : void | ||
e | CreatingDesktopEventArgs | /// The event arguments. /// |
return | void |
protected OnFramebufferUpdating ( FramebufferUpdatingEventArgs e ) : void | ||
e | FramebufferUpdatingEventArgs | /// The event arguments. /// |
return | void |
protected OnKeyChanged ( KeyChangedEventArgs e ) : void | ||
e | KeyChangedEventArgs | /// The event arguments. /// |
return | void |
protected OnPasswordProvided ( PasswordProvidedEventArgs e ) : void | ||
e | PasswordProvidedEventArgs | /// The event arguments. /// |
return | void |
protected OnPointerChanged ( PointerChangedEventArgs e ) : void | ||
e | PointerChangedEventArgs | /// The event arguments. /// |
return | void |
protected OnRemoteClipboardChanged ( RemoteClipboardChangedEventArgs e ) : void | ||
e | RemoteClipboardChangedEventArgs | /// The event arguments. /// |
return | void |
public SendLocalClipboardChange ( string data ) : void | ||
data | string | The contents of the local clipboard. |
return | void |
public SetFramebufferSource ( IVncFramebufferSource source ) : void | ||
source | IVncFramebufferSource | The framebuffer source, or |
return | void |
public VncServerSession ( ) : RemoteViewing.Logging | ||
return | RemoteViewing.Logging |