C# Класс Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CaptureRequirement ( bool value, int id ) : void

This function will load the RS info and output log information. It wraps the Site.CaptureRequirement function.

ChannelJoinRequestAndConfirm ( NegativeType invalidType ) : void

Expect SUT start the channel join sequence

DeactivateReactivate ( ) : void

Start a Deactivate-Reactivate sequence.

EstablishRDPConnection ( selectedProtocols_Values serverSelectedProtocol, EncryptionMethods enMethod, EncryptionLevel enLevel, bool isExtendedClientDataSupported, bool expectAutoReconnect, TS_UD_SC_CORE_version_Values rdpServerVersion, MULTITRANSPORT_TYPE_FLAGS multiTransportTypeFlags = MULTITRANSPORT_TYPE_FLAGS.None, bool supportRDPEGFX = false, bool supportRestrictedAdminMode = false ) : void

Expect a client initiated RDP connection sequence.

ExpectClientInitiatedDisconnect ( System.TimeSpan waitTimeSpan, bool respondDeniedPdu, bool expectDisconnectPdu ) : void

Expect a client initiated disconnection sequence.

ServerInitiatedDisconnect ( bool sendDisonnectPdu, bool adminInitiated, NegativeType invalidType ) : void

Start a server Initiated disconnection sequence

VerifyPdu ( Client_Confirm_Active_Pdu confirmActivePdu ) : void

2.2.1.13.2

VerifyPdu ( Client_Control_Pdu_Cooperate clientCoopPdu ) : void

2.2.1.15

VerifyPdu ( Client_Control_Pdu_Request_Control clientCtlRequestPdu ) : void

2.2.1.16

VerifyPdu ( Client_Font_List_Pdu fontListPdu ) : void

2.2.1.18

VerifyPdu ( Client_Info_Pdu clientInfo ) : void

2.2.1.11

VerifyPdu ( Client_MCS_Attach_User_Request attachUserPdu ) : void

2.2.1.6

VerifyPdu ( Client_MCS_Channel_Join_Request channelJoinPdu ) : void

2.2.1.8

VerifyPdu ( Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request connectInitialPdu ) : void

2.2.1.3

VerifyPdu ( Client_MCS_Erect_Domain_Request erectPdu ) : void

2.2.1.5

VerifyPdu ( Client_Persistent_Key_List_Pdu keyListPdu ) : void

2.2.1.17

VerifyPdu ( Client_Refresh_Rect_Pdu refreshPdu ) : void

2.2.11.2

VerifyPdu ( Client_Security_Exchange_Pdu securityPdu ) : void

2.2.1.10

VerifyPdu ( Client_Shutdown_Request_Pdu shutdownPdu ) : void

2.2.2.1

VerifyPdu ( Client_Suppress_Output_Pdu suppressPdu ) : void

2.2.11.3

VerifyPdu ( Client_Synchronize_Pdu clientSyncPdu ) : void

2.2.1.14

VerifyPdu ( Client_X_224_Connection_Request_Pdu clientPdu ) : void

2.2.1.1

VerifyPdu ( MCS_Disconnect_Provider_Ultimatum_Pdu disconnectPdu ) : void

2.2.2.3

VerifyPdu ( TS_FP_INPUT_PDU fpInputPdu ) : void

2.2.8.1.2 Client Fast-Path Input Event PDU (TS_FP_INPUT_PDU)

VerifyPdu ( TS_INPUT_PDU inputPdu ) : void

VerifyStructure ( TS_BITMAPCACHE_CAPABILITYSET cache ) : void

2.2.7.1.4.1

VerifyStructure ( TS_BITMAPCACHE_CAPABILITYSET_REV2 cache2 ) : void

2.2.7.1.4.2

VerifyStructure ( TS_BITMAP_CAPABILITYSET bitmap ) : void

2.2.7.1.2

VerifyStructure ( TS_BRUSH_CAPABILITYSET brush ) : void

2.2.7.1.7

VerifyStructure ( TS_CONFIRM_ACTIVE_PDU confirmActive ) : void

2.2.1.13.2.1

VerifyStructure ( TS_FP_INPUT_EVENT input ) : void

2.2.8.1.2.2

VerifyStructure ( TS_GENERAL_CAPABILITYSET general ) : void

2.2.7.1.1

VerifyStructure ( TS_GLYPHCACHE_CAPABILITYSET glyph ) : void

2.2.7.1.8

VerifyStructure ( TS_INFO_PACKET info ) : void

2.2.1.11.1

VerifyStructure ( TS_INPUT_CAPABILITYSET input ) : void

2.2.7.1.6

VerifyStructure ( TS_INPUT_EVENT input ) : void

2.2.8.1.1.3.1.1

VerifyStructure ( TS_OFFSCREEN_CAPABILITYSET offscreen ) : void

2.2.7.1.9 Check the requirements in structure TS_OFFSCREEN_CAPABILITYSET

VerifyStructure ( TS_ORDER_CAPABILITYSET order ) : void

2.2.7.1.3

VerifyStructure ( TS_POINTER_CAPABILITYSET pointer ) : void

2.2.7.1.5

VerifyStructure ( TS_SOUND_CAPABILITYSET sound ) : void

2.2.7.1.11 Check the requirements in structure TS_SOUND_CAPABILITYSET.

VerifyStructure ( TS_TIME_ZONE_INFORMATION zoneInfo ) : void

2.2.1.11.1.1.1

VerifyStructure ( TS_UD_CS_CLUSTER cluster ) : void
VerifyStructure ( TS_UD_CS_CORE core ) : void
VerifyStructure ( TS_UD_CS_MONITOR monitor ) : void
VerifyStructure ( TS_UD_CS_NET net ) : void
VerifyStructure ( TS_UD_CS_SEC sec ) : void
VerifyStructure ( TS_VIRTUALCHANNEL_CAPABILITYSET vc ) : void

2.2.7.1.10 Check the requirements in structure TS_VIRTUALCHANNEL_CAPABILITYSET.

Описание методов

CaptureRequirement() публичный Метод

This function will load the RS info and output log information. It wraps the Site.CaptureRequirement function.
public CaptureRequirement ( bool value, int id ) : void
value bool
id int
Результат void

ChannelJoinRequestAndConfirm() публичный Метод

Expect SUT start the channel join sequence
public ChannelJoinRequestAndConfirm ( NegativeType invalidType ) : void
invalidType NegativeType
Результат void

DeactivateReactivate() публичный Метод

Start a Deactivate-Reactivate sequence.
public DeactivateReactivate ( ) : void
Результат void

EstablishRDPConnection() публичный Метод

Expect a client initiated RDP connection sequence.
public EstablishRDPConnection ( selectedProtocols_Values serverSelectedProtocol, EncryptionMethods enMethod, EncryptionLevel enLevel, bool isExtendedClientDataSupported, bool expectAutoReconnect, TS_UD_SC_CORE_version_Values rdpServerVersion, MULTITRANSPORT_TYPE_FLAGS multiTransportTypeFlags = MULTITRANSPORT_TYPE_FLAGS.None, bool supportRDPEGFX = false, bool supportRestrictedAdminMode = false ) : void
serverSelectedProtocol selectedProtocols_Values The server selected security protocol.
enMethod EncryptionMethods The server selected security method.
enLevel EncryptionLevel The server selected security level.
isExtendedClientDataSupported bool Indicates if server supports Extended Client Data Blocks.
expectAutoReconnect bool Indicates if expect an Auto-Connect sequence.
rdpServerVersion TS_UD_SC_CORE_version_Values The RDP Sever version
multiTransportTypeFlags MULTITRANSPORT_TYPE_FLAGS Flags of Multitransport Channel Data
supportRDPEGFX bool Whether support RDPEGFX
supportRestrictedAdminMode bool Whether support restricted admin mode
Результат void

ExpectClientInitiatedDisconnect() публичный Метод

Expect a client initiated disconnection sequence.
public ExpectClientInitiatedDisconnect ( System.TimeSpan waitTimeSpan, bool respondDeniedPdu, bool expectDisconnectPdu ) : void
waitTimeSpan System.TimeSpan The maximum time duration to wait.
respondDeniedPdu bool Indicates if send the Shutdown Request PDU to client.
expectDisconnectPdu bool Indicates if expect a client MCS Disconnect Provider Ultimatum PDU.
Результат void

ServerInitiatedDisconnect() публичный Метод

Start a server Initiated disconnection sequence
public ServerInitiatedDisconnect ( bool sendDisonnectPdu, bool adminInitiated, NegativeType invalidType ) : void
sendDisonnectPdu bool Indicates if server send MCS Disconnect Provider Ultimatum PDU to client.
adminInitiated bool Indicates it's an Administrator-Initiated disconnection or User-Initiated disconnection.
invalidType NegativeType Indicates the invalid type for negative cases
Результат void

VerifyPdu() публичный Метод

2.2.1.13.2
public VerifyPdu ( Client_Confirm_Active_Pdu confirmActivePdu ) : void
confirmActivePdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Confirm_Active_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.15
public VerifyPdu ( Client_Control_Pdu_Cooperate clientCoopPdu ) : void
clientCoopPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Control_Pdu_Cooperate
Результат void

VerifyPdu() публичный Метод

2.2.1.16
public VerifyPdu ( Client_Control_Pdu_Request_Control clientCtlRequestPdu ) : void
clientCtlRequestPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Control_Pdu_Request_Control
Результат void

VerifyPdu() публичный Метод

2.2.1.18
public VerifyPdu ( Client_Font_List_Pdu fontListPdu ) : void
fontListPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Font_List_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.11
public VerifyPdu ( Client_Info_Pdu clientInfo ) : void
clientInfo Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Info_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.6
public VerifyPdu ( Client_MCS_Attach_User_Request attachUserPdu ) : void
attachUserPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_MCS_Attach_User_Request
Результат void

VerifyPdu() публичный Метод

2.2.1.8
public VerifyPdu ( Client_MCS_Channel_Join_Request channelJoinPdu ) : void
channelJoinPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_MCS_Channel_Join_Request
Результат void

VerifyPdu() публичный Метод

2.2.1.3
public VerifyPdu ( Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request connectInitialPdu ) : void
connectInitialPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request
Результат void

VerifyPdu() публичный Метод

2.2.1.5
public VerifyPdu ( Client_MCS_Erect_Domain_Request erectPdu ) : void
erectPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_MCS_Erect_Domain_Request
Результат void

VerifyPdu() публичный Метод

2.2.1.17
public VerifyPdu ( Client_Persistent_Key_List_Pdu keyListPdu ) : void
keyListPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Persistent_Key_List_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.11.2
public VerifyPdu ( Client_Refresh_Rect_Pdu refreshPdu ) : void
refreshPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Refresh_Rect_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.10
public VerifyPdu ( Client_Security_Exchange_Pdu securityPdu ) : void
securityPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Security_Exchange_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.2.1
public VerifyPdu ( Client_Shutdown_Request_Pdu shutdownPdu ) : void
shutdownPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Shutdown_Request_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.11.3
public VerifyPdu ( Client_Suppress_Output_Pdu suppressPdu ) : void
suppressPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Suppress_Output_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.14
public VerifyPdu ( Client_Synchronize_Pdu clientSyncPdu ) : void
clientSyncPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Synchronize_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.1.1
public VerifyPdu ( Client_X_224_Connection_Request_Pdu clientPdu ) : void
clientPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_X_224_Connection_Request_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.2.3
public VerifyPdu ( MCS_Disconnect_Provider_Ultimatum_Pdu disconnectPdu ) : void
disconnectPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.MCS_Disconnect_Provider_Ultimatum_Pdu
Результат void

VerifyPdu() публичный Метод

2.2.8.1.2 Client Fast-Path Input Event PDU (TS_FP_INPUT_PDU)
public VerifyPdu ( TS_FP_INPUT_PDU fpInputPdu ) : void
fpInputPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_FP_INPUT_PDU
Результат void

VerifyPdu() публичный Метод

public VerifyPdu ( TS_INPUT_PDU inputPdu ) : void
inputPdu Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_INPUT_PDU
Результат void

VerifyStructure() публичный Метод

2.2.7.1.4.1
public VerifyStructure ( TS_BITMAPCACHE_CAPABILITYSET cache ) : void
cache Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_BITMAPCACHE_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.4.2
public VerifyStructure ( TS_BITMAPCACHE_CAPABILITYSET_REV2 cache2 ) : void
cache2 Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_BITMAPCACHE_CAPABILITYSET_REV2
Результат void

VerifyStructure() публичный Метод

2.2.7.1.2
public VerifyStructure ( TS_BITMAP_CAPABILITYSET bitmap ) : void
bitmap Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_BITMAP_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.7
public VerifyStructure ( TS_BRUSH_CAPABILITYSET brush ) : void
brush Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_BRUSH_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.1.13.2.1
public VerifyStructure ( TS_CONFIRM_ACTIVE_PDU confirmActive ) : void
confirmActive Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_CONFIRM_ACTIVE_PDU
Результат void

VerifyStructure() публичный Метод

2.2.8.1.2.2
public VerifyStructure ( TS_FP_INPUT_EVENT input ) : void
input Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_FP_INPUT_EVENT
Результат void

VerifyStructure() публичный Метод

2.2.7.1.1
public VerifyStructure ( TS_GENERAL_CAPABILITYSET general ) : void
general Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_GENERAL_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.8
public VerifyStructure ( TS_GLYPHCACHE_CAPABILITYSET glyph ) : void
glyph Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_GLYPHCACHE_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.1.11.1
public VerifyStructure ( TS_INFO_PACKET info ) : void
info Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_INFO_PACKET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.6
public VerifyStructure ( TS_INPUT_CAPABILITYSET input ) : void
input Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_INPUT_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.8.1.1.3.1.1
public VerifyStructure ( TS_INPUT_EVENT input ) : void
input Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_INPUT_EVENT
Результат void

VerifyStructure() публичный Метод

2.2.7.1.9 Check the requirements in structure TS_OFFSCREEN_CAPABILITYSET
public VerifyStructure ( TS_OFFSCREEN_CAPABILITYSET offscreen ) : void
offscreen Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_OFFSCREEN_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.3
public VerifyStructure ( TS_ORDER_CAPABILITYSET order ) : void
order Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_ORDER_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.5
public VerifyStructure ( TS_POINTER_CAPABILITYSET pointer ) : void
pointer Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_POINTER_CAPABILITYSET
Результат void

VerifyStructure() публичный Метод

2.2.7.1.11 Check the requirements in structure TS_SOUND_CAPABILITYSET.
public VerifyStructure ( TS_SOUND_CAPABILITYSET sound ) : void
sound Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_SOUND_CAPABILITYSET The TS_SOUND_CAPABILITYSET structure.
Результат void

VerifyStructure() публичный Метод

2.2.1.11.1.1.1
public VerifyStructure ( TS_TIME_ZONE_INFORMATION zoneInfo ) : void
zoneInfo Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_TIME_ZONE_INFORMATION
Результат void

VerifyStructure() публичный Метод

public VerifyStructure ( TS_UD_CS_CLUSTER cluster ) : void
cluster Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_CS_CLUSTER
Результат void

VerifyStructure() публичный Метод

public VerifyStructure ( TS_UD_CS_CORE core ) : void
core Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_CS_CORE
Результат void

VerifyStructure() публичный Метод

public VerifyStructure ( TS_UD_CS_MONITOR monitor ) : void
monitor Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_CS_MONITOR
Результат void

VerifyStructure() публичный Метод

public VerifyStructure ( TS_UD_CS_NET net ) : void
net Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_CS_NET
Результат void

VerifyStructure() публичный Метод

public VerifyStructure ( TS_UD_CS_SEC sec ) : void
sec Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_CS_SEC
Результат void

VerifyStructure() публичный Метод

2.2.7.1.10 Check the requirements in structure TS_VIRTUALCHANNEL_CAPABILITYSET.
public VerifyStructure ( TS_VIRTUALCHANNEL_CAPABILITYSET vc ) : void
vc Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_VIRTUALCHANNEL_CAPABILITYSET The TS_VIRTUALCHANNEL_CAPABILITYSET structure
Результат void