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

The TS_BITMAP_CAPABILITYSET structure is used to advertise bitmap-orientated characteristics and is based on the capability set specified in [T128] section 8.2.4. 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_2.xml
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
bitmapCompressionFlag ushort
capabilitySetType capabilitySetType_Values
desktopHeight ushort
desktopResizeFlag desktopResizeFlag_Values
desktopWidth ushort
drawingFlags drawingFlags_Values
highColorFlags byte
lengthCapability ushort
multipleRectangleSupport ushort
pad2octets ushort
pad2octetsB ushort
preferredBitsPerPixel ushort
receive1BitPerPixel ushort
receive4BitsPerPixel ushort
receive8BitsPerPixel ushort

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

bitmapCompressionFlag public_oe property

A 16-bit unsigned integer. Indicates whether the client supports bitmap compression. RDP requires bitmap compression and hence this field MUST be set to TRUE (0x0001). If it is not set to TRUE, the server MUST NOT continue with the connection.
public ushort bitmapCompressionFlag
return ushort

capabilitySetType public_oe property

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

desktopHeight public_oe property

A 16-bit unsigned integer. The height of the client desktop. This field MAY be set to the desktop height that the client requested in the Client Core Data (section ).
public ushort desktopHeight
return ushort

desktopResizeFlag public_oe property

A 16-bit unsigned integer. Indicates whether desktop resizing is supported.
public desktopResizeFlag_Values desktopResizeFlag
return desktopResizeFlag_Values

desktopWidth public_oe property

A 16-bit unsigned integer. The width of the client desktop. This field MAY be set to the desktop width that the client requested in the Client Core Data (section ).
public ushort desktopWidth
return ushort

drawingFlags public_oe property

An 8-bit unsigned integer. Padding. Values in this field are ignored.
public drawingFlags_Values drawingFlags
return drawingFlags_Values

highColorFlags public_oe property

An 8-bit unsigned integer. Client support for 16 bits-per-pixel color modes. This field is ignored during capability negotiation and SHOULD be set to 0.
public byte highColorFlags
return byte

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

multipleRectangleSupport public_oe property

A 16-bit unsigned integer. Indicates whether the client supports the use of multiple bitmap rectangles. RDP requires the use of multiple bitmap rectangles and hence this field MUST be set to TRUE (0x0001). If it is not set to TRUE, the server MUST NOT continue with the connection.
public ushort multipleRectangleSupport
return ushort

pad2octets public_oe property

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

pad2octetsB public_oe property

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

preferredBitsPerPixel public_oe property

A 16-bit unsigned integer. Preferred bits-per-pixel (bpp) for the session. In RDP 4.0 and 5.0, this field MUST be set to 8 (even for a 16-color session). In RDP 5.1 and later, this field MUST be set to the desktop color depth that the client requested in the Client Core Data (section ).
public ushort preferredBitsPerPixel
return ushort

receive1BitPerPixel public_oe property

A 16-bit unsigned integer. Indicates whether the client can receive 1 bit-per-pixel. This field is ignored during capability negotiation and SHOULD be set to TRUE (0x0001).
public ushort receive1BitPerPixel
return ushort

receive4BitsPerPixel public_oe property

A 16-bit unsigned integer. Indicates whether the client can receive 4 bit-per-pixel. This field is ignored during capability negotiation and SHOULD be set to TRUE (0x0001).
public ushort receive4BitsPerPixel
return ushort

receive8BitsPerPixel public_oe property

A 16-bit unsigned integer. Indicates whether the client can receive 8 bit-per-pixel. This field is ignored during capability negotiation and SHOULD be set to TRUE (0x0001).
public ushort receive8BitsPerPixel
return ushort