DEV Community

Banl
Banl

Posted on

无法在 mSTscAX 控件上获取 IMsRdpClipboard 属性

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…

Top comments (0)