The IMsRdpClipboard property cannot be obtained on the mSTscAX control

Viewed 23

My requirement is to control the clipboard on the RDP channel, and to be able to achieve unidirectional control.Check out Microsoft's official documentation for the following methods to manually control clipboard synchronization.

MSTSCAX Extend setting -> ManualClipboardSyncEnabled

MSTSCAX IMsRdpClipboard interface

IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
((IMsRdpExtendedSettings)secured).set_Property("ManualClipboardSyncEnabled", true);
((IMsRdpClientNonScriptable7)secured).Clipboard.CanSyncLocalClipboardToRemoteSession();

BUT

Not found ((IMsRdpClientNonScriptable7)secured).Clipboard prop,and raise System.NullReferenceException.

The Clipboard property was not found on the RDP control.

Here we have the same problem, but it's not solved

0 Answers
Related