MsRdpClient11NotSafeForScripting class
Microsoft RDP Client Control - version 12
This class implements the following interfaces.
- IMsRdpClient10
- IMsRdpClient9
- IMsRdpClient8
- IMsRdpClient7
- IMsRdpClient6
- IMsRdpClient5
- IMsRdpClient4
- IMsRdpClient3
- IMsRdpClient2
- IMsRdpClient
- IMsTscAx
- IDispatch
- IMsTscAxEvents
- IMsTscNonScriptable
- IMsRdpClientNonScriptable
- IMsRdpClientNonScriptable2
- IMsRdpClientNonScriptable3
- IMsRdpClientNonScriptable4
- IMsRdpClientNonScriptable5
- IMsRdpClientNonScriptable6
- IMsRdpClientNonScriptable7
- IMsRdpPreferredRedirectionInfo
- IMsRdpExtendedSettings
MsRdpClient11NotSafeForScripting has these types of members:
Methods
The MsRdpClient11NotSafeForScripting class has these methods.
Method | Description |
---|---|
attachEvent | Attaches an event. |
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. |
detachEvent | Detaches an event. |
Disconnect | Disconnects the active connection. |
GetErrorDescription | Retrieves the error codes and error messages. |
GetStatusText | Retrieves the status text for the specified status code. |
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. |
Reconnect | Reconnects to the remote session with the new desktop width and height. |
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. |
SendRemoteAction | Causes an action to be performed in the remote session. |
SetVirtualChannelOptions | Sets the virtual channel options for the client control. |
SyncSessionDisplaySettings | Synchronizes session display settings. |
UpdateSessionDisplaySettings | Updates session display settings. |
SendLocation2D | Sends a latitude and longitude value to the server so the client's geographic location can be reflected in the remote session. |
SendLocation3D | Sends a latitude, longitude and altitude value to the server so the client's geographic location can be reflected in the remote session. |
DisableDpiCursorScalingForProcess | Disables local scaling of the mouse cursor received from the server, ensuring that the cursor shape is rendered correctly without modification. |
Properties
The MsRdpClient11NotSafeForScripting 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. |
AdvancedSettings8 |
Read-only |
An object that supports the IMsRdpClientAdvancedSettings7 interface. |
AdvancedSettings9 |
Read-only |
An IMsRdpClientAdvancedSettings8 interface that represents the settings object. |
AllowCredentialSaving |
Read/write |
Specifies whether the credentials dialog box displays a check box to enable the saving of credentials. |
AllowPromptingForCredentials |
Read/write |
Specifies whether the Remote Desktop ActiveX control can prompt the user for 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. |
DisableConnectionBar |
Write-only |
Specifies whether the Remote Desktop ActiveX control should disable the connection bar. |
DisableRemoteAppCapsCheck |
Read/write |
Specifies whether the Remote Desktop ActiveX control should not check the server for RemoteApp capabilities. |
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. |
GetRemoteMonitorsBoundingBox |
Read-only |
Specifies the bounding rectangle of the remote monitor. |
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. |
Property |
Read/write |
Contains a named property. |
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. |
RemoteMonitorCount |
Read-only |
Specifies the number of remote monitors. |
RemoteMonitorLayoutMatchesLocal |
Read-only |
Specifies if the remote monitor layout is identical to the local monitor layout. |
RemoteProgram |
Read-only |
The client RemoteApp setting. |
RemoteProgram2 |
Read-only |
An object that supports the ITSRemoteProgram2 interface. |
RemoteProgram3 |
Read-only |
An object that supports the ITSRemoteProgram3 interface. |
SecuredSettings |
Read-only |
A IMsTscSecuredSettings interface pointer. |
SecuredSettings2 |
Read-only |
Pointer to the IMsRdpClientSecuredSettings interface, used to set secured settings for the client control. |
SecuredSettings3 |
Read-only |
An object that supports the IMsRdpClientSecuredSettings2 interface. |
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. |
TransportSettings3 |
Read-only |
An object that supports the IMsRdpClientTransportSettings3 interface. |
TransportSettings4 |
Read-only |
An object that supports the IMsRdpClientTransportSettings4 interface. |
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. |
UseMultimon |
Read/write |
Specifies whether the Remote Desktop ActiveX control should use multiple monitors. |
UseRedirectionServerName |
Read/write |
Whether to use the redirection server name. |
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. |
WarnAboutDirectXRedirection |
Read/write |
This property is not used. |
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. |
CameraRedirConfigCollection | Read-only | Gets the collection of cameras (and the associated configurations) that are available for redirection. |
Clipboard | Read-only | Gets the Clipboard controller used to synchronize the local and remote clipboards if manual clipboard sync is enabled. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 10 [desktop apps only] |
Minimum supported server |
Windows Server 2016 |
Type library |
|
DLL |
|
CLSID |
CLSID_MsRdpClient11NotSafeForScripting is defined as 1DF7C823-B2D4-4B54-975A-F2AC5D7CF8B8 |