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

MS-RDPBCGR Decoder Class
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
DecodeAutoReconnectStatusPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Auto-Reconnect Status PDU

DecodeControlPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

[TD Reference 3.2.5.3.20] Decode Control PDU - Cooperate

DecodeDeactivateAllPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Deactivate All PDU

DecodeDemandActivePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

[TD Reference 3.2.5.3.13.1] Decode Demand Active PDU

DecodeDisconnectProviderUltimatumPDU ( byte data ) : StackPacket

[TD Reference 3.1.5.1] Decode MCS Disconnect Provider Ultimatum PDU

DecodeEnhancedServerRedirectionPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Enhanced Security Server Redirection PDU.

DecodeFontMapPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

[TD Reference 3.2.5.3.22] Decode Font Map PDU

DecodeLicenseErrorPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

[TD Reference 3.2.5.3.12] Decode License Error PDU - Valid Client

DecodeMcsAttachUserConfirmPDU ( byte data ) : StackPacket

[TD Reference 3.2.5.3.7] Decode MCS Attach User Confirm PDU

DecodeMcsChannelJoinConfirmPDU ( byte data ) : StackPacket

[TD Reference 3.2.5.3.9] Decode MCS Channel Join Confirm PDU

DecodeMcsConnectResponsePDU ( byte data ) : StackPacket

[TD Reference 3.2.5.3.4] Decode MCS Connect Response PDU with GCC Conference Create Response

DecodeMonitorLayoutPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Monitor Layout PDU

DecodePdu ( byte data ) : StackPacket

Decode PDU (entrance method for decoders)

DecodePlaySoundPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Play Sound PDU

DecodeSaveSessionInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Save Session Info PDU

DecodeServerAutoDetectRequestPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
DecodeServerHeartbeatPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Server Heartbeat PDU

DecodeServerInitiateMultitransportRequest ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Server Initiate multitransport request

DecodeServerRedirectionPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Standard Security Server Redirection PDU.

DecodeSetErrorInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Set Error Info PDU

DecodeSetKeyboardImeStatusPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Set Keyboard IME Status PDU

DecodeSetKeyboardIndicatorsPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Set Keyboard Indicators PDU

DecodeShutdownRequestDeniedPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

[TD Reference 2.2.2.3] Decode Server Shutdown Request Denied PDU

DecodeSlowPathUpdatePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Slow-Path Update PDU including Slow-Path Graphics Update PDU and Slow-Path Pointer Update PDU.

DecodeStatusInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Server Status Info PDU

DecodeSynchronizePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

[TD Reference 3.2.5.3.19] Decode Synchronize PDU

DecodeTsFpUpdatePDU ( byte data ) : StackPacket

Decode Fast-path Update PDU

DecodeVirtualChannelPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Virtual Channel PDU

DecodeX224ConnectionConfirmPDU ( byte data ) : StackPacket

[TD Reference 3.2.5.3.2] Decode X.224 Connection Confirm PDU

ParseNetworkDectectRequest ( byte data, int &currentIndex ) : NETWORK_DETECTION_REQUEST

Parse NETWORK_DETECTION_REQUEST

ParseTsPointerPdu ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_POINTER_PDU

Parse Slow-Path Pointer Update PDU

RdpbcgrDecoder ( RdpbcgrClient rdpbcgrClient, RdpbcgrClientContext rdpbcgrClientContext ) : System

RDPBCGR Decoder Constructor

Private Methods

Method Description
CalculateFpUpdatePduLength ( byte length1, byte length2 ) : UInt16

Calculate the overall length of Server Fast-Path Update PDU (based on field values of "length1" and "length2")

DecodeMcsSendDataIndicationPDU ( byte data, DomainMCSPDU domainPdu ) : StackPacket

Decode MCS Send Data Indication PDU

DecodePacketCallback ( object endPoint, byte receivedBytes, int &consumedLength, int &expectedLength ) : StackPacket[]

Decode RDPBCGR PDUs from the received message bytes

DecryptFastPathUpdateData ( byte remainData, byte signatureData, bool isSalted ) : byte[]

Decrypt Fast-path Update Data

DecryptSendDataIndication ( byte userData, SecurityHeaderType securityHeaderType ) : byte[]

Decrypt Send Data Indication

GetBytes ( byte data, int &startIndex, int bytesToRead ) : byte[]

Get specified length of bytes from a byte array (start index is updated according to the specified length)

GetFpOutputHeaderInfo ( byte fpOutputHeader, nested_TS_FP_UPDATE_PDU_fpOutputHeader_actionCode_Values &actionCode, encryptionFlagsChgd_Values &encryptionFlags ) : void

Get information from Fast-path Output Header

GetFpUpdateHeaderInfo ( byte updateHeader, updateCode_Values &updateCode, fragmentation_Value &fragmentation, compression_Values &compression ) : void

Get information from Fast-path Update Header

GetPacket ( byte receivedBytes ) : byte[]

Get a complete packet buffer from received bytes

GetSecurityHeaderTypeByContext ( ) : SecurityHeaderType

Get Security Header Type by Client Context (not applicable to "Server License Error PDU", since it always has at least the basic type header)

GetShareControlHeaderType ( TS_SHARECONTROLHEADER header ) : ShareControlHeaderType

Get Share Control Header Type [Reference to 2.2.8.1.1.1.1 Share Control Header (TS_SHARECONTROLHEADER)]

IsAutoDetectSecurityHeaderExist ( byte userData ) : bool

Check if Auto-Detect Request PDU secuirty header exists at the front part of user data

IsFlagExist ( UInt16 flag, UInt16 subFlag ) : bool

Check if the subFlag exists in flag

IsFlagExist ( UInt32 flag, UInt32 subFlag ) : bool

Check if the subFlag exists in flag

IsFlagExist ( byte flag, byte subFlag ) : bool

Check if the subFlag exists in flag

IsHeartbeatSecurityHeaderExist ( byte userData ) : bool

Check if Heartbeat PDU secuirty header exists at the front part of user data

IsInitiateMultitransportRequestSecurityHeaderExist ( byte userData ) : bool

Check if Initiate Multitransport Request secuirty header exists at the front part of user data

IsLicenseErrorSecurityHeaderExist ( byte userData ) : bool

Check if Server License Error PDU secuirty header exists at the front part of user data

IsStandardRedirectionPdu ( byte userData, SecurityHeaderType securityHeaderType ) : bool

Check if the PDU is a Standard Redirection PDU.

ParseArcScPrivatePacket ( byte data, int &currentIndex ) : ARC_SC_PRIVATE_PACKET

Parse ARC_SC_PRIVATE_PACKET (parser index is updated according to parsed length)

ParseByte ( byte data, int &index ) : byte

Parse one byte (parser index will be updated by one)

ParseCapsTypeBitmap ( byte data ) : TS_BITMAP_CAPABILITYSET

Parse TS_BITMAP_CAPABILITYSET

ParseCapsTypeBitmapCacheHostSupport ( byte data ) : TS_BITMAPCACHE_HOSTSUPPORT_CAPABILITYSET

Parse TS_BITMAPCACHE_HOSTSUPPORT_CAPABILITYSET

ParseCapsTypeBitmapCodecs ( byte data ) : TS_BITMAPCODECS_CAPABILITYSET

Parse TS_BITMAPCODECS_CAPABILITYSET

ParseCapsTypeColorCache ( byte data ) : TS_COLORCACHE_CAPABILITYSET

Parse TS_COLORCACHE_CAPABILITYSET

ParseCapsTypeCompDesk ( byte data ) : TS_COMPDESK_CAPABILITYSET

Parse TS_COMPDESK_CAPABILITYSET

ParseCapsTypeDrawGdiPlus ( byte data ) : TS_DRAWGRIDPLUS_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeDrawNineGridCache ( byte data ) : TS_DRAWNINEGRIDCACHE_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeFont ( byte data ) : TS_FONT_CAPABILITYSET

Parse TS_FONT_CAPABILITYSET

ParseCapsTypeFrameAcknowledge ( byte data ) : TS_FRAME_ACKNOWLEDGE_CAPABILITYSET

Parse TS_FRAME_ACKNOWLEDGE_CAPABILITYSET

ParseCapsTypeGeneral ( byte data ) : TS_GENERAL_CAPABILITYSET

Parse TS_GENERAL_CAPABILITYSET

ParseCapsTypeInput ( byte data ) : TS_INPUT_CAPABILITYSET

Parse TS_INPUT_CAPABILITYSET

ParseCapsTypeLargePointer ( byte data ) : TS_LARGE_POINTER_CAPABILITYSET

Parse TS_LARGE_POINTER_CAPABILITYSET

ParseCapsTypeMultiFragmentUpdate ( byte data ) : TS_MULTIFRAGMENTUPDATE_CAPABILITYSET

Parse TS_MULTIFRAGMENTUPDATE_CAPABILITYSET

ParseCapsTypeOrder ( byte data ) : TS_ORDER_CAPABILITYSET

Parse TS_ORDER_CAPABILITYSET

ParseCapsTypePointer ( byte data ) : TS_POINTER_CAPABILITYSET

Parse TS_POINTER_CAPABILITYSET

ParseCapsTypeRail ( byte data ) : TS_RAIL_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeShare ( byte data ) : TS_SHARE_CAPABILITYSET

Parse TS_SHARE_CAPABILITYSET

ParseCapsTypeSurfaceCommands ( byte data ) : TS_SURFCMDS_CAPABILITYSET

Parse TS_SURFCMDS_CAPABILITYSET

ParseCapsTypeVirtualChannel ( byte data ) : TS_VIRTUALCHANNEL_CAPABILITYSET

Parse TS_VIRTUALCHANNEL_CAPABILITYSET

ParseCapsTypeWindow ( byte data ) : TS_WINDOW_CAPABILITYSET

Parse TS_WINDOWACTIVATION_CAPABILITYSET

ParseChannelPduHeader ( byte data, int &currentIndex ) : CHANNEL_PDU_HEADER

Parse CHANNEL_PDU_HEADER (parser index is updated according to parsed length)

ParseExBitmapdataHeader ( byte data, int &currentIndex ) : TS_COMPRESSED_BITMAP_HEADER_EX

Parse TS_COMPRESSED_BITMAP_HEADER_EX

ParseInfoData ( byte data, int &currentIndex, infoType_Values infoType ) : object

Parse Info Data by Type (parser index is updated according to parsed length)

ParseLicenseErrorMessage ( byte data, int &currentIndex ) : LICENSE_ERROR_MESSAGE

Parse LICENSE_ConstValue.ERROR_MESSAGE (parser index is updated according to parsed length)

ParseLicensePreamble ( byte data, int &currentIndex ) : LICENSE_PREAMBLE

Parse LICENSE_PREAMBLE (parser index is updated according to parsed length)

ParseMcsCommonHeader ( byte data, int &currentIndex, SecurityHeaderType securityHeaderType ) : SlowPathPduCommonHeader

Parse MCS Common Header (parser index is updated according to parsed length)

ParseMcsDomainPdu ( byte data, int &currentIndex ) : DomainMCSPDU

Parse MCS Domain PDU (parser index is updated according to parsed length)

ParseProprietaryServerCertificate ( byte data, int &currentIndex ) : PROPRIETARYSERVERCERTIFICATE

Parse PROPRIETARYSERVERCERTIFICATE (parser index is updated according to parsed length)

ParseRdpNegFailure ( byte data, int &currentIndex ) : RDP_NEG_FAILURE

Parse RDP_NEG_FAILURE (parser index is updated according to parsed length)

ParseRdpNegRsp ( byte data, int &currentIndex ) : RDP_NEG_RSP

Parse RDP_NEG_RSP (parser index is updated according to parsed length)

ParseRdpServerRedirectionPacket ( byte data, int &currentIndex ) : RDP_SERVER_REDIRECTION_PACKET

Parse RDP_SERVER_REDIRECTION_PACKET

ParseRsaPublicKey ( byte data, int &currentIndex ) : RSA_PUBLIC_KEY

Parse RSA_PUBLIC_KEY (parser index is updated according to parsed length)

ParseSlowPathUpdates ( byte data, int &currentIndex ) : RdpbcgrSlowPathUpdatePdu[]

Parse Slow-path Update PDU array (parser index is updated according to parsed length)

ParseTpktHeader ( byte data, int &currentIndex ) : TpktHeader

Parse TpktHeader (parser index is updated according to parsed length)

ParseTsAutoReconnectStatusPdu ( byte data, int &currentIndex ) : TS_AUTORECONNECT_STATUS_PDU

Parse TS_AUTORECONNECT_STATUS_PDU (parser index is updated according to parsed length)

ParseTsBitmapCodec ( byte data, int &currentIndex ) : TS_BITMAPCODEC

Parse TS_BITMAPCODEC (parser index is updated according to parsed length)

ParseTsBitmapCodecGuid ( byte data, int &currentIndex ) : TS_BITMAPCODEC_GUID

Parse TS_BITMAPCODEC_GUID (parser index is updated according to parsed length)

ParseTsBitmapCodecs ( byte data, int &currentIndex ) : TS_BITMAPCODECS

Parse TS_BITMAPCODECS (parser index is updated according to parsed length)

ParseTsBitmapData ( byte data, int &currentIndex ) : TS_BITMAP_DATA

Parse TS_BITMAP_DATA (parser index is updated according to parsed length)

ParseTsBitmapDataEx ( byte data, int &currentIndex ) : TS_BITMAP_DATA_EX

Parse TS_BITMAP_DATA_EX (parser index is updated according to parsed length)

ParseTsCachePointerAttribute ( byte data, int &currentIndex ) : TS_CACHEDPOINTERATTRIBUTE

Parse TS_CACHEDPOINTERATTRIBUTE (parser index is updated according to parsed length)

ParseTsCapsSet ( byte data, int &currentIndex ) : ITsCapsSet

Parse TS_CAPS_SET (parser index is updated according to parsed length)

ParseTsCdHeader ( byte data, int &currentIndex ) : TS_CD_HEADER

Parse TS_CD_HEADER (parser index is updated according to parsed length)

ParseTsColorPointerAttribute ( byte data, int &currentIndex ) : TS_COLORPOINTERATTRIBUTE

Parse TS_COLORPOINTERATTRIBUTE (parser index is updated according to parsed length)

ParseTsControlPdu ( byte data, int &currentIndex ) : TS_CONTROL_PDU

Parse TS_CONTROL_PDU (parser index is updated according to parsed length)

ParseTsDeactivateAllPdu ( byte data, int &currentIndex ) : TS_DEACTIVATE_ALL_PDU

Parse TS_DEACTIVATE_ALL_PDU (parser index is updated according to parsed length)

ParseTsDemandActivePdu ( byte data, int &currentIndex ) : TS_DEMAND_ACTIVE_PDU

Parse TS_DEMAND_ACTIVE_PDU (parser index is updated according to parsed length)

ParseTsFontMapPdu ( byte data, int &currentIndex ) : TS_FONT_MAP_PDU

Parse TS_FONT_MAP_PDU (parser index is updated according to parsed length)

ParseTsFpCachedPointerAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_CACHEDPOINTERATTRIBUTE

Parse TS_FP_CACHEDPOINTERATTRIBUTE

ParseTsFpColorPointerAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_COLORPOINTERATTRIBUTE

Parse TS_FP_COLORPOINTERATTRIBUTE

ParseTsFpFipsInfo ( byte data, int &currentIndex ) : TS_FP_FIPS_INFO

Parse TS_FP_FIPS_INFO (parser index is updated according to parsed length)

ParseTsFpPointerAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_POINTERATTRIBUTE

Parse TS_FP_POINTERATTRIBUTE

ParseTsFpPointerPosAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_POINTERPOSATTRIBUTE

Parse TS_FP_POINTERPOSATTRIBUTE

ParseTsFpSurfCmds ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_SURFCMDS

Parse TS_FP_SURFCMDS

ParseTsFpSystemPointerDefaultAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size ) : TS_FP_SYSTEMPOINTERDEFAULTATTRIBUTE

Parse TS_FP_SYSTEMPOINTERDEFAULTATTRIBUTE

ParseTsFpSystemPointerHiddenAttribute ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size ) : TS_FP_SYSTEMPOINTERHIDDENATTRIBUTE

Parse TS_FP_SYSTEMPOINTERHIDDENATTRIBUTE

ParseTsFpUpdateBitmap ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_UPDATE_BITMAP

Parse TS_FP_UPDATE_BITMAP

ParseTsFpUpdateOrders ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_UPDATE_ORDERS

Parse TS_FP_UPDATE_ORDERS

ParseTsFpUpdatePalette ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size, byte updateData ) : TS_FP_UPDATE_PALETTE

Parse TS_FP_UPDATE_PALETTE

ParseTsFpUpdateSynchronize ( byte updateHeader, compressedType_Values compressionFlags, UInt16 size ) : TS_FP_UPDATE_SYNCHRONIZE

Parse TS_FP_UPDATE_SYNCHRONIZE

ParseTsFpUpdates ( byte data, int &currentIndex ) : TS_FP_UPDATE[]

Parse TS_FP_UPDATE array (parser index is updated according to parsed length)

ParseTsGraphicsUpdatePdu ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : RdpbcgrSlowPathUpdatePdu

Parse Slow-Path Graphics Update PDU

ParseTsLogonErrorsInfo ( byte data, int &currentIndex ) : TS_LOGON_ERRORS_INFO

Parse TS_LOGON_ERRORS_INFO (parser index is updated according to parsed length)

ParseTsLogonInfo ( byte data, int &currentIndex ) : TS_LOGON_INFO

Parse TS_LOGON_INFO (parser index is updated according to parsed length)

ParseTsLogonInfoExtended ( byte data, int &currentIndex ) : TS_LOGON_INFO_EXTENDED

Parse TS_LOGON_INFO_EXTENDED (parser index is updated according to parsed length)

ParseTsLogonInfoFields ( byte data, int &currentIndex, FieldsPresent_Values presentFlag ) : TS_LOGON_INFO_FIELD[]

Parse TS_LOGON_INFO_FIELD array (parser index is updated according to parsed length)

ParseTsLogonInfoVersion2 ( byte data, int &currentIndex ) : TS_LOGON_INFO_VERSION_2

Parse TS_LOGON_INFO_VERSION_2 (parser index is updated according to parsed length)

ParseTsMonitorDef ( byte data, int &currentIndex ) : TS_MONITOR_DEF

Parse TS_MONITOR_DEF (parser index is updated according to parsed length)

ParseTsPaletteEntry ( byte data, int &currentIndex ) : TS_PALETTE_ENTRY

Parse TS_PALETTE_ENTRY (parser index is updated according to parsed length)

ParseTsPlainNotify ( byte data, int &currentIndex ) : TS_PLAIN_NOTIFY

Parse TS_PLAIN_NOTIFY (parser index is updated according to parsed length)

ParseTsPlaySoundPduData ( byte data, int &currentIndex ) : TS_PLAY_SOUND_PDU_DATA

Parse TS_PLAY_SOUND_PDU_DATA (parser index is updated according to parsed length)

ParseTsPoint16 ( byte data, int &currentIndex ) : TS_POINT16

Parse TS_POINT16 (parser index is updated according to parsed length)

ParseTsPointerAttribute ( byte data, int &currentIndex ) : TS_POINTERATTRIBUTE

Parse TS_POINTERATTRIBUTE (parser index is updated according to parsed length)

ParseTsPointerPosAttribute ( byte data, int &currentIndex ) : TS_POINTERPOSATTRIBUTE

Parse TS_POINTERPOSATTRIBUTE (parser index is updated according to parsed length)

ParseTsSaveSessionInfoPduData ( byte data, int &currentIndex ) : TS_SAVE_SESSION_INFO_PDU_DATA

Parse TS_SAVE_SESSION_INFO_PDU_DATA (parser index is updated according to parsed length)

ParseTsSecurityHeader ( byte data, int &currentIndex, SecurityHeaderType headerType ) : TS_SECURITY_HEADER

Parse Security Header (parser index is updated according to parsed length)

ParseTsSecurityHeaderBasic ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (BASIC) (parser index is updated according to parsed length)

ParseTsSecurityHeaderFips ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (FIPS) (parser index is updated according to parsed length)

ParseTsSecurityHeaderNonFips ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (NON-FIPS) (parser index is updated according to parsed length)

ParseTsSetErrorInfoPdu ( byte data, int &currentIndex ) : TS_SET_ERROR_INFO_PDU

Parse TS_SET_ERROR_INFO_PDU (parser index is updated according to parsed length)

ParseTsSetKeyboardImeStatusPdu ( byte data, int &currentIndex ) : TS_SET_KEYBOARD_IME_STATUS_PDU

Parse TS_SET_KEYBOARD_IME_STATUS_PDU (parser index is updated according to parsed length)

ParseTsSetKeyboardIndicatorsPdu ( byte data, int &currentIndex ) : TS_SET_KEYBOARD_INDICATORS_PDU

Parse TS_SET_KEYBOARD_INDICATORS_PDU (parser index is updated according to parsed length)

ParseTsShareControlHeader ( byte data, int &currentIndex ) : TS_SHARECONTROLHEADER

Parse TS_SHARECONTROLHEADER (parser index is updated according to parsed length)

ParseTsShareDataHeader ( byte data, int &currentIndex ) : TS_SHAREDATAHEADER

Parse TS_SHAREDATAHEADER (parser index is updated according to parsed length)

ParseTsShutdownDeniedPdu ( byte data, int &currentIndex ) : TS_SHUTDOWN_DENIED_PDU

Parse TS_SHUTDOWN_DENIED_PDU (parser index is updated according to parsed length)

ParseTsSurfCmd ( byte data, int &currentIndex ) : TS_SURFCMD[]

Parse TS_SURFCMD array (parser index is updated according to parsed length)

ParseTsSurfCmdSetSurfBits ( byte data, int &currentIndex ) : TS_SURFCMD_SET_SURF_BITS

Parse TS_SURFCMD_SET_SURF_BITS (parser index is updated according to parsed length)

ParseTsSynchronizePdu ( byte data, int &currentIndex ) : TS_SYNCHRONIZE_PDU

Parse TS_SYNCHRONIZE_PDU (parser index is updated according to parsed length)

ParseTsUdScCore ( byte data, int &currentIndex ) : TS_UD_SC_CORE

Parse TS_UD_SC_CORE (parser index is updated according to parsed length)

ParseTsUdScMSGChannel ( byte data, int &currentIndex ) : TS_UD_SC_MCS_MSGCHANNEL

Parse TS_UD_SC_MCS_MSGCHANNEL (parser index is updated according to parsed length)

ParseTsUdScMultiTransport ( byte data, int &currentIndex ) : TS_UD_SC_MULTITRANSPORT

Parse TS_UD_SC_MULTITRANSPORT (parser index is updated according to parsed length)

ParseTsUdScNet ( byte data, int &currentIndex ) : TS_UD_SC_NET

Parse TS_UD_SC_NET (parser index is updated according to parsed length)

ParseTsUdScSec1 ( byte data, int &currentIndex ) : TS_UD_SC_SEC1

Parse TS_UD_SC_SEC1 (parser index is updated according to parsed length)

ParseTsUpdateBitmapData ( byte data, int &currentIndex ) : TS_UPDATE_BITMAP_DATA

Parse TS_UPDATE_BITMAP_DATA (parser index is updated according to parsed length)

ParseTsUpdateBitmapPduData ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_UPDATE_BITMAP

Parse TS_UPDATE_BITMAP

ParseTsUpdateOrdersPduData ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_UPDATE_ORDERS

Parse TS_UPDATE_ORDERS

ParseTsUpdatePaletteData ( byte data, int &currentIndex ) : TS_UPDATE_PALETTE_DATA

parse TS_UPDATE_PALETTE_DATA (parser index is updated according to parsed length)

ParseTsUpdatePalettePduData ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_UPDATE_PALETTE

Parse TS_UPDATE_PALETTE

ParseTsUpdateSyncPduData ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_UPDATE_SYNC

Parse TS_UPDATE_SYNC

ParseUInt16 ( byte data, int &index, bool isBigEndian ) : UInt16

Parse UInt16 (parser index is updated according to parsed length)

ParseUInt32 ( byte data, int &index, bool isBigEndian ) : UInt32

Parse UInt32 (parser index is updated according to parsed length)

ParseUInt64 ( byte data, int &index, bool isBigEndian = false ) : UInt64

Parse UInt64

ParseX224Crq ( byte data, int &currentIndex ) : X224Crq

Parse X224Crq (parser index is updated according to parsed length)

ParseX224Data ( byte data, int &currentIndex ) : X224

Parse X224 Data (parser index is updated according to parsed length)

ParseX509CertificateChain ( byte data, int &currentIndex, int size ) : X509_CERTIFICATE_CHAIN

Parse X509 Certificate Chain (parser index is updated according to parsed length)

SwitchDecodeMcsDataPDU ( byte data, byte decryptedUserData, SecurityHeaderType securityHeaderType ) : StackPacket

Switch Decode MCS Data PDU

SwitchDecodeMcsDomainPDU ( byte data ) : StackPacket

Switch Decode MCS Domain PDU

SwitchDecodeMcsPDU ( byte data ) : StackPacket

Switch Decode MCS PDU

SwitchDecodeMcsSendDataIndicationPDU ( byte data, byte decryptedUserData, SecurityHeaderType securityHeaderType ) : StackPacket

Switch Decode MCS Send Data Indication PDU

UpdateSecurityHeaderType ( SecurityHeaderType &securityHeaderType ) : void

For Standard Redirection PDU type, an encryption is needed. So if there's encryptionLevel is ENCRYPTION_LEVEL_LOW, update the securityHeaderType according to TD.

VerifyDataLength ( int actualLength, int expectedLength, string errorMessage ) : void

Verify Packet Data Length

Method Details

DecodeAutoReconnectStatusPDU() public method

Decode Auto-Reconnect Status PDU
public DecodeAutoReconnectStatusPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeControlPDU() public method

[TD Reference 3.2.5.3.20] Decode Control PDU - Cooperate
public DecodeControlPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeDeactivateAllPDU() public method

Decode Deactivate All PDU
public DecodeDeactivateAllPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeDemandActivePDU() public method

[TD Reference 3.2.5.3.13.1] Decode Demand Active PDU
public DecodeDemandActivePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeDisconnectProviderUltimatumPDU() public method

[TD Reference 3.1.5.1] Decode MCS Disconnect Provider Ultimatum PDU
public DecodeDisconnectProviderUltimatumPDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodeEnhancedServerRedirectionPDU() public method

Decode Enhanced Security Server Redirection PDU.
public DecodeEnhancedServerRedirectionPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeFontMapPDU() public method

[TD Reference 3.2.5.3.22] Decode Font Map PDU
public DecodeFontMapPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeLicenseErrorPDU() public method

[TD Reference 3.2.5.3.12] Decode License Error PDU - Valid Client
public DecodeLicenseErrorPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeMcsAttachUserConfirmPDU() public method

[TD Reference 3.2.5.3.7] Decode MCS Attach User Confirm PDU
public DecodeMcsAttachUserConfirmPDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodeMcsChannelJoinConfirmPDU() public method

[TD Reference 3.2.5.3.9] Decode MCS Channel Join Confirm PDU
public DecodeMcsChannelJoinConfirmPDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodeMcsConnectResponsePDU() public method

[TD Reference 3.2.5.3.4] Decode MCS Connect Response PDU with GCC Conference Create Response
public DecodeMcsConnectResponsePDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodeMonitorLayoutPDU() public method

Decode Monitor Layout PDU
public DecodeMonitorLayoutPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodePdu() public method

Decode PDU (entrance method for decoders)
public DecodePdu ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodePlaySoundPDU() public method

Decode Play Sound PDU
public DecodePlaySoundPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSaveSessionInfoPDU() public method

Decode Save Session Info PDU
public DecodeSaveSessionInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeServerAutoDetectRequestPDU() public method

public DecodeServerAutoDetectRequestPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte
decryptedUserData byte
type SecurityHeaderType
return StackPacket

DecodeServerHeartbeatPDU() public method

Decode Server Heartbeat PDU
public DecodeServerHeartbeatPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte
decryptedUserData byte
type SecurityHeaderType
return StackPacket

DecodeServerInitiateMultitransportRequest() public method

Decode Server Initiate multitransport request
public DecodeServerInitiateMultitransportRequest ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return StackPacket

DecodeServerRedirectionPDU() public method

Decode Standard Security Server Redirection PDU.
public DecodeServerRedirectionPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSetErrorInfoPDU() public method

Decode Set Error Info PDU
public DecodeSetErrorInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSetKeyboardImeStatusPDU() public method

Decode Set Keyboard IME Status PDU
public DecodeSetKeyboardImeStatusPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return StackPacket

DecodeSetKeyboardIndicatorsPDU() public method

Decode Set Keyboard Indicators PDU
public DecodeSetKeyboardIndicatorsPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeShutdownRequestDeniedPDU() public method

[TD Reference 2.2.2.3] Decode Server Shutdown Request Denied PDU
public DecodeShutdownRequestDeniedPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSlowPathUpdatePDU() public method

Decode Slow-Path Update PDU including Slow-Path Graphics Update PDU and Slow-Path Pointer Update PDU.
public DecodeSlowPathUpdatePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeStatusInfoPDU() public method

Decode Server Status Info PDU
public DecodeStatusInfoPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return StackPacket

DecodeSynchronizePDU() public method

[TD Reference 3.2.5.3.19] Decode Synchronize PDU
public DecodeSynchronizePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeTsFpUpdatePDU() public method

Decode Fast-path Update PDU
public DecodeTsFpUpdatePDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

DecodeVirtualChannelPDU() public method

Decode Virtual Channel PDU
public DecodeVirtualChannelPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return StackPacket

DecodeX224ConnectionConfirmPDU() public method

[TD Reference 3.2.5.3.2] Decode X.224 Connection Confirm PDU
public DecodeX224ConnectionConfirmPDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

ParseNetworkDectectRequest() public method

Parse NETWORK_DETECTION_REQUEST
public ParseNetworkDectectRequest ( byte data, int &currentIndex ) : NETWORK_DETECTION_REQUEST
data byte
currentIndex int
return NETWORK_DETECTION_REQUEST

ParseTsPointerPdu() public method

Parse Slow-Path Pointer Update PDU
public ParseTsPointerPdu ( byte updateData, TS_SHAREDATAHEADER shareDataHeader ) : TS_POINTER_PDU
updateData byte update data (decompressed if were compressed
shareDataHeader TS_SHAREDATAHEADER share data header
return TS_POINTER_PDU

RdpbcgrDecoder() public method

RDPBCGR Decoder Constructor
public RdpbcgrDecoder ( RdpbcgrClient rdpbcgrClient, RdpbcgrClientContext rdpbcgrClientContext ) : System
rdpbcgrClient RdpbcgrClient client
rdpbcgrClientContext RdpbcgrClientContext client context
return System