Class RfbConnectionContext.ConnectionDetailsAccessor
Provides the protocol implementation classes with write access to some details properties of the RfbConnection object.
Inheritance
Namespace: MarcusW.VncClient.Protocol
Assembly: MarcusW.VncClient.dll
Syntax
public class ConnectionDetailsAccessor : object
Methods
| Improve this Doc View SourceSetContinuousUpdatesEnabled(Boolean)
Sets the value of the ContinuousUpdatesEnabled property on the RfbConnection object.
Declaration
public void SetContinuousUpdatesEnabled(bool continuousUpdatesEnabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | continuousUpdatesEnabled | The new state. |
SetDesktopIsResizable(Boolean)
Sets the value of the DesktopIsResizable property on the RfbConnection object.
Declaration
public void SetDesktopIsResizable(bool desktopIsResizable)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | desktopIsResizable | The new state. |
SetDesktopName(Nullable<String>)
Sets the value of the DesktopName property on the RfbConnection object.
Declaration
public void SetDesktopName(string? desktopName)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.String> | desktopName | The new desktop name. |
SetProtocolVersion(RfbProtocolVersion)
Sets the value of the ProtocolVersion property on the RfbConnection object.
Declaration
public void SetProtocolVersion(RfbProtocolVersion protocolVersion)
Parameters
Type | Name | Description |
---|---|---|
RfbProtocolVersion | protocolVersion | The new protocol version value. |
SetRemoteFramebufferFormat(PixelFormat)
Sets the value of the RemoteFramebufferFormat property on the RfbConnection object.
Declaration
public void SetRemoteFramebufferFormat(PixelFormat remoteFramebufferFormat)
Parameters
Type | Name | Description |
---|---|---|
PixelFormat | remoteFramebufferFormat | The new framebuffer format. |
SetRemoteFramebufferLayout(IImmutableSet<Screen>)
Sets the value of the RemoteFramebufferLayout property on the RfbConnection object.
Declaration
public void SetRemoteFramebufferLayout(IImmutableSet<Screen> remoteFramebufferLayout)
Parameters
Type | Name | Description |
---|---|---|
IImmutableSet<Screen> | remoteFramebufferLayout | The new framebuffer layout. |
SetRemoteFramebufferSize(Size)
Sets the value of the RemoteFramebufferSize property on the RfbConnection object.
Declaration
public void SetRemoteFramebufferSize(Size remoteFramebufferSize)
Parameters
Type | Name | Description |
---|---|---|
Size | remoteFramebufferSize | The new framebuffer size. |
SetUsedEncodingTypes(IImmutableSet<IEncodingType>)
Sets the value of the UsedEncodingTypes property on the RfbConnection object.
Declaration
public void SetUsedEncodingTypes(IImmutableSet<IEncodingType> usedEncodingTypes)
Parameters
Type | Name | Description |
---|---|---|
IImmutableSet<IEncodingType> | usedEncodingTypes | The new encoding types set. |
SetUsedMessageTypes(IImmutableSet<IMessageType>)
Sets the value of the UsedMessageTypes property on the RfbConnection object.
Declaration
public void SetUsedMessageTypes(IImmutableSet<IMessageType> usedMessageTypes)
Parameters
Type | Name | Description |
---|---|---|
IImmutableSet<IMessageType> | usedMessageTypes | The new message types set. |
SetUsedSecurityType(ISecurityType)
Sets the value of the UsedSecurityType property on the RfbConnection object.
Declaration
public void SetUsedSecurityType(ISecurityType usedSecurityType)
Parameters
Type | Name | Description |
---|---|---|
ISecurityType | usedSecurityType | The new security type. |