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 the entire desktop. Just the specific application I am writing.
You could start with this sample C# application and use the
IRDPSRAPIApplicationFilterinterface to set which application should be shared.I haven't tried this yet, but my guess is that you would set
IRDPSRAPIApplicationFilter.Enabled = trueand then setShared = truefor one of theIRDPSRAPIApplicationobjects in theIRDPSRAPIApplicationFilter.Applicationscollection, or for one of theIRDPSRAPIWindowobjects in theIRDPSRAPIApplicationFilter.Windowscollection.