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
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 setShared = true
for one of theIRDPSRAPIApplication
objects in theIRDPSRAPIApplicationFilter.Applications
collection, or for one of theIRDPSRAPIWindow
objects in theIRDPSRAPIApplicationFilter.Windows
collection.