开发者

Share/collaborate a .NET application via RDP?

开发者 https://www.devze.com 2023-02-14 10:00 出处:网络
Can someone point me to examples/documentation showing me how share a single C# .net 3.5 based application via RDP / Desktop Sharing?

Can someone point me to examples/documentation showing me how share a single C# .net 3.5 based application via RDP / Desktop Sharing?

I found this blog post, but am not sure where to go from here:

http://blogs.msdn.com/b/rds/archive/2007/03/08/windows-desktop-sharing-api.aspx

I'm running on Windows 7, but don't want to share th开发者_开发问答e entire desktop. Just the specific application I am writing.


You could start with this sample C# application and use the IRDPSRAPIApplicationFilter interface to set which application should be shared.

I haven't tried this yet, but my guess is that you would set IRDPSRAPIApplicationFilter.Enabled = true and then set Shared = true for one of the IRDPSRAPIApplication objects in the IRDPSRAPIApplicationFilter.Applications collection, or for one of the IRDPSRAPIWindow objects in the IRDPSRAPIApplicationFilter.Windows collection.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号