MsRdpClient6NotSafeForScripting class

Microsoft RDP Client Control - version 7

This class implements the following interfaces.

MsRdpClient6NotSafeForScripting has these types of members:

Methods

The MsRdpClient6NotSafeForScripting class has these methods.

Method Description
Connect Initiates a connection using the properties currently set on the control.
CreateVirtualChannels Creates a client-side virtual channel object for each specified virtual channel name.
Disconnect Disconnects the active connection.
GetErrorDescription Retrieves the error codes and error messages.
GetVirtualChannelOptions Retrieves the options set for a virtual channel.
NotifyRedirectDeviceChange Notifies the device redirection module of the Remote Desktop ActiveX control that a device change has occurred on the system. This method passes WM_DEVICECHANGE notifications to the control.
OnAuthenticationWarningDismissed Called after an ActiveX control displays an authentication dialog box (for example, the certificate error dialog box).
OnAuthenticationWarningDisplayed Called before an ActiveX control displays an authentication dialog box (for example, the certificate error dialog box).
OnAutoReconnected Called when the client control has automatically reconnected to a remote session.
OnAutoReconnecting Called when a client is in the process of automatically reconnecting a session with a RD Session Host server.
OnAutoReconnecting2 Called when a client is in the process of automatically reconnecting a session with a RD Session Host server.
OnChannelReceivedData Called when the client receives data on a scriptable virtual channel.
OnConfirmClose Called when the client calls the IMsRdpClient::RequestClose method.
OnConnected Called when the client control is in the process of establishing a connection with a RD Session Host server.
OnConnecting Called when the client control begins connecting to a server in response to a call to IMsTscAx::Connect.
OnConnectionBarPullDown Called when the user has dragged down on the connection bar.
OnDevicesButtonPressed Called when the devices button in the connection bar has been pressed.
OnDisconnected Called when the client control has been disconnected from the RD Session Host server.
OnEnterFullScreenMode Called when the client enters full-screen mode. For example, this event is called when the user presses the full-screen mode shortcut key combination (CTRL+ALT+BREAK).
OnFatalError Called when the client control encounters a fatal error.
OnFocusReleased Called when the release focus key combination is pressed. For example, this event is called when the user presses the CTRL+ALT+LEFT ARROW or the CTRL+ALT+RIGHT ARROW key combination.
OnIdleTimeoutNotification Called when there has been no mouse or keyboard input by the user during the period of time set by the IMsRdpClientAdvancedSettings::put_MinutesToIdleTimeout method.
OnLeaveFullScreenMode Called when the client leaves full-screen mode. For example, this event is called when the user presses the full-screen mode shortcut key combination (CTRL+ALT+BREAK).
OnLoginComplete Called when the client control has successfully logged on to a RD Session Host server, following the display of the Windows Logon dialog box.
OnLogonError Called when a logon error or other logon event occurs.
OnMouseInputModeChanged Called when the mouse input mode has changed.
OnNetworkStatusChanged Called when the network status has changed.
OnReceivedTSPublicKey Called during the connection sequence when the client retrieves the public key from the server. This event is only called if the NotifyTSPublicKey property is VARIANT_TRUE.
OnRemoteDesktopSizeChange Called to indicate that the size of the client control on the remote desktop has changed in response to a client control operation.
OnRemoteProgramDisplayed Called when a RemoteApp program is displayed.
OnRemoteProgramResult Called when a RemoteApp program returns a result to the client control.
OnRemoteWindowDisplayed Called when a RemoteApp window is displayed.
OnRequestContainerMinimize Called when the user presses the Minimize button on the connection bar in full-screen mode. The firing of this event is a request that the container application minimize itself.
OnRequestGoFullScreen Called when the client requests to switch to full-screen mode and the IMsTscAdvancedSettings::put_ContainerHandledFullScreen method is called to set the ContainerHandledFullScreen property to a nonzero value.
OnRequestLeaveFullScreen Called when the client requests to leave full-screen mode and the IMsTscAdvancedSettings::put_ContainerHandledFullScreen property has been set to a nonzero value.
OnServiceMessageReceived Called when the client receives a system message.
OnUserNameAcquired Called when the user name has been acquired by the control.
OnWarning Called when the client control encounters an error condition that is not fatal.
RequestClose Requests a graceful shutdown of the client control.
ResetPassword Resets all password states in the control.
SendKeys Sends a series of keystrokes to the control. The keystrokes are in scan code form, which is the keyboard data from the actual physical keys.
SendOnVirtualChannel Sends data to the RD Session Host server over a virtual channel that was created previously by using the IMsTscAx::CreateVirtualChannels method.
SetVirtualChannelOptions Sets the virtual channel options for the client control.

Properties

The MsRdpClient6NotSafeForScripting class has these properties.

Property Access type Description
AdvancedSettings
Read-only
An IMsTscAdvancedSettings interface pointer.
AdvancedSettings2
Read-only
Pointer to the IMsRdpClientAdvancedSettings interface, used to set advanced settings for the client control.
AdvancedSettings3
Read-only
Pointer to the IMsRdpClientAdvancedSettings2 interface, used to set advanced settings for the client control.
AdvancedSettings4
Read-only
Pointer to the IMsRdpClientAdvancedSettings3 interface, used to set advanced settings for the client control.
AdvancedSettings5
Read-only
An IMsRdpClientAdvancedSettings4 interface pointer.
AdvancedSettings6
Read-only
The interface to IMsRdpClientAdvancedSettings5.
AdvancedSettings7
Read-only
The interface to IMsRdpClientAdvancedSettings6.
AllowCredentialSaving
Read/write
Specifies whether the credentials dialog box displays a check box to enable the saving of credentials.
BinaryPassword
Read/write
This property is not supported.
BinarySalt
Read/write
This property is not supported.
CipherStrength
Read-only
The maximum encryption strength of the current control.
ClearTextPassword
Write-only
The Remote Desktop ActiveX control password, in plaintext format.
ColorDepth
Read/write
Color depth of the current control.
Connected
Read-only
The connection state of the current control.
ConnectedStatusText
Read/write
Text that is displayed in the client area of the control while the control is in the connected state.
ConnectingText
Read/write
The text that appears centered in the control while the control is connecting.
ConnectionBarText
Read/write
The text string to display for the connection bar.
DesktopHeight
Read/write
The current control's height, in pixels, on the initial remote desktop.
DesktopWidth
Read/write
The current control's width, in pixels, on the initial remote desktop.
DeviceCollection
Read-only
The collection of PnP devices that are available for redirection.
DisconnectedText
Read/write
The text that appears centered in the control before a connection is terminated.
Domain
Read/write
The domain to which the current user logs on.
DriveCollection
Read-only
The collection of disk drives that is available for redirection.
EnableCredSspSupport
Read/write
Specifies whether CredSSP is enabled for this connection.
ExtendedDisconnectReason
Read-only
Extended information about the client control's reason for disconnection.
FullScreen
Read/write
Indicates whether the control is in full-screen mode.
FullScreenTitle
Write-only
The window title displayed when the control is in full-screen mode.
HorizontalScrollBarVisible
Read-only
Indicates whether the control has displayed a horizontal scroll bar.
LaunchedViaClientShellInterface
Read/write
Specifies whether the user launched the client control by using the RD Web Access interface.
MarkRdpSettingsSecure
Read/write
Specifies whether RDP settings are marked as secure.
MsRdpClientShell
Read-only
The client settings for the web portal launcher.
NegotiateSecurityLayer
Read/write
Specifies whether the NegotiateSecurityLayer setting is supported for this connection.
Note: When CredSspSupport is enabled and present on the client, or when Secure Sockets Layer (SSL) is enabled with user authentication, NegotiateSecurityLayer is ignored.
PortablePassword
Read/write
This property is not supported.
PortableSalt
Read/write
This property is not supported.
PromptForCredentials
Read/write
Specifies whether the prompt for credentials dialog box should be shown.
PromptForCredsOnClient
Read/write
Specifies whether the client control displays a dialog box that prompts for credentials.
PublisherCertificateChain
Read/write
Specifies the publisher certificate chain. The chain is stored in a variant of type VT_BYREF that contains a pointer to a CERT_CHAIN_CONTEXT structure.
RedirectDynamicDevices
Read/write
Specifies whether dynamically attached PnP devices that are enumerated while in a session are available for redirection.
RedirectDynamicDrives
Read/write
Specifies whether dynamically attached PnP drives that are enumerated while in a session are available for redirection.
RedirectionWarningType
Read/write
Controls the presence and appearance of the redirection dialog box.
RemoteProgram
Read-only
The client RemoteApp setting.
SecuredSettings
Read-only
A IMsTscSecuredSettings interface pointer.
SecuredSettings2
Read-only
Pointer to the IMsRdpClientSecuredSettings interface, used to set secured settings for the client control.
SecuredSettingsEnabled
Read-only
Indicates whether the IMsTscSecuredSettings interface is available.
Server
Read/write
The name of the server to which the current control is connected.
ShowRedirectionWarningDialog
Read/write
Specifies whether the redirection security warning dialog box should be shown before starting a session.
StartConnected
Read/write
Indicates whether the control will establish the RD Session Host server connection immediately upon startup.
TransportSettings
Read-only
The client RD Gateway setting.
TransportSettings2
Read-only
The interface to IMsRdpClientTransportSettings2.
TrustedZoneSite
Read/write
Specifies whether the website from which the user launched the connection is in the trusted sites list of the client computer.
UIParentWindowHandle
Read/write
The window handle to be the parent window for the control. This allows any windows displayed by the control to be properly modal with respect to any windows displayed by the parent application.
UserName
Read/write
The user name logon credential.
Version
Read-only
The version number of the current control.
VerticalScrollBarVisible
Read-only
Indicates whether the control displays a vertical scroll bar.
WarnAboutClipboardRedirection
Read/write
Specifies whether the security warning dialog box should include a warning about clipboard redirection before starting a session.
WarnAboutPrinterRedirection
Read/write
Specifies whether the redirection dialog box displays a message about printer redirection before starting a session.
WarnAboutSendingCredentials
Read/write
Specifies whether the security warning should include a warning about sending credentials to the remote server before starting a session.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
CLSID
CLSID_MsRdpClient6NotSafeForScripting is defined as D2EA46A7-C2BF-426B-AF24-E19C44456399

See also

Remote Desktop ActiveX control classes