C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.RDP_SEGMENTED_DATA

The RDP_SEGMENTED_DATA structure is used to wrap one or more RDP_DATA_SEGMENT (section 2.2.5.2) structures. Each segment contains data that has been encoded using RDP 8.0 Bulk Compression techniques (section 3.1.9.1).
Inheritance: BasePDU
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
bulkData RDP8_BULK_ENCODED_DATA
descriptor DescriptorTypes
segmentArray Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.RDP_DATA_SEGMENT[]
segmentCount ushort
uncompressedSize uint

Public Methods

Method Description
Decode ( PduMarshaler marshaler ) : bool

Decode this PDU from the PduMarshaler.

Encode ( PduMarshaler marshaler ) : void

Encode this PDU to the PduMarshaler.

Method Details

Decode() public method

Decode this PDU from the PduMarshaler.
public Decode ( PduMarshaler marshaler ) : bool
marshaler PduMarshaler This is used to decode the fields of this PDU.
return bool

Encode() public method

Encode this PDU to the PduMarshaler.
public Encode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler This is used to encode the fields of this PDU.
return void

Property Details

bulkData public property

An optional variable-length RDP8_BULK_ENCODED_DATA structure (section 2.2.5.3).
public RDP8_BULK_ENCODED_DATA,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc bulkData
return RDP8_BULK_ENCODED_DATA

descriptor public property

An 8-bit unsigned integer that specifies whether the RDP_SEGMENTED_DATA structure wraps a single segment or multiple segments
public DescriptorTypes descriptor
return DescriptorTypes

segmentArray public property

An optional variable-length array of RDP_DATA_SEGMENT structures.
public RDP_DATA_SEGMENT[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc segmentArray
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.RDP_DATA_SEGMENT[]

segmentCount public property

An optional 16-bit unsigned integer that specifies the number of elements in the segmentArray field.
public ushort segmentCount
return ushort

uncompressedSize public property

An optional 32-bit unsigned integer that specifies the size, in bytes, of the data present in the segmentArray field once it has been reassembled and decompressed.
public uint uncompressedSize
return uint