C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_GENERAL_CAPABILITYSET

The TS_GENERAL_CAPABILITYSET structure is used to advertise general characteristics and is based on the capability set specified in [T128] section 8.2.3. This capability is sent by both client and server.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_6_1_1.xml
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
capabilitySetType capabilitySetType_Values
extraFlags extraFlags_Values
generalCompressionLevel generalCompressionLevel_Values
generalCompressionTypes generalCompressionTypes_Values
lengthCapability ushort
osMajorType osMajorType_Values
osMinorType osMinorType_Values
pad2octetsA ushort
protocolVersion protocolVersion_Values
refreshRectSupport refreshRectSupport_Values
remoteUnshareFlag remoteUnshareFlag_Values
suppressOutputSupport suppressOutputSupport_Values
updateCapabilityFlag updateCapabilityFlag_Values

Public Methods

Method Description
GetCapabilityType ( ) : capabilitySetType_Values

to get the type of this struct.

ToBytes ( ) : byte[]

convert this structure to byte array

Method Details

GetCapabilityType() public method

to get the type of this struct.
public GetCapabilityType ( ) : capabilitySetType_Values
return capabilitySetType_Values

ToBytes() public method

convert this structure to byte array
public ToBytes ( ) : byte[]
return byte[]

Property Details

capabilitySetType public_oe property

A 16-bit unsigned integer. The type of the capability set. This field MUST be set to CAPSTYPE_GENERAL (1).
public capabilitySetType_Values capabilitySetType
return capabilitySetType_Values

extraFlags public_oe property

A 16-bit unsigned integer. General capability information.Remote Desktop Protocol (RDP) 5.0 and later supports the following flags:
public extraFlags_Values extraFlags
return extraFlags_Values

generalCompressionLevel public_oe property

A 16-bit unsigned integer. General compression level. This field MUST be set to 0.
public generalCompressionLevel_Values generalCompressionLevel
return generalCompressionLevel_Values

generalCompressionTypes public_oe property

A 16-bit unsigned integer. General compression types. This field MUST be set to 0.
public generalCompressionTypes_Values generalCompressionTypes
return generalCompressionTypes_Values

lengthCapability public_oe property

A 16-bit unsigned integer. The length in bytes of the capability data, including the size of the capabilitySetType and lengthCapability fields.
public ushort lengthCapability
return ushort

osMajorType public_oe property

A 16-bit unsigned integer. The type of platform.
public osMajorType_Values osMajorType
return osMajorType_Values

osMinorType public_oe property

A 16-bit unsigned integer. The version of the platform specified in the osMajorType field.
public osMinorType_Values osMinorType
return osMinorType_Values

pad2octetsA public_oe property

A 16-bit unsigned integer. Padding. Values in this field are ignored.
public ushort pad2octetsA
return ushort

protocolVersion public_oe property

A 16-bit unsigned integer. The protocol version. This field MUST be set to TS_CAPS_PROTOCOLVERSION (0x0200).
public protocolVersion_Values protocolVersion
return protocolVersion_Values

refreshRectSupport public_oe property

An 8-bit unsigned integer. Server-only flag that indicates whether the Refresh Rect PDU is supported.
public refreshRectSupport_Values refreshRectSupport
return refreshRectSupport_Values

remoteUnshareFlag public_oe property

A 16-bit unsigned integer. Support for remote unsharing. This field MUST be set to 0.
public remoteUnshareFlag_Values remoteUnshareFlag
return remoteUnshareFlag_Values

suppressOutputSupport public_oe property

An 8-bit unsigned integer. Server-only flag that indicates whether the Suppress Output PDU is supported.
public suppressOutputSupport_Values suppressOutputSupport
return suppressOutputSupport_Values

updateCapabilityFlag public_oe property

A 16-bit unsigned integer. Support for update capability. This field MUST be set to 0.
public updateCapabilityFlag_Values updateCapabilityFlag
return updateCapabilityFlag_Values