How do I enable SecuredSettingsEnabled when using AxMsRdpClient to connect through RDP to a Cloud Instance?

女生的网名这么多〃 提交于 2019-12-03 21:30:29

You can cast the AdvancedSettings property of the AxMsTsc client to your desired settings interface. Then you can access all settings, which are available. Got through this to enable SmartSizing for my tabbed RDP Session Tool in WPF.

this.Client = new AxMsTscAxNotSafeForScripting();
IMsRdpClientAdvancedSettings7 settings = 
    (IMsRdpClientAdvancedSettings7)this.Client.AdvancedSettings;
settings.SmartSizing = true;

The answer is answering an entirely different question. I misread the original question. See my last comment for details and a hint I found in the documentation. Sorry for any inconvenience!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!