Application inside remote Desktop?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Did anyone ever need to know if your application is being run inside a remote
desktop session?
I have an application written in .Net 2.0
And I need to know if that application was started inside of a remote
desktop session.
Are there any win API calls I can call to find out if this is the case?
 
Did anyone ever need to know if your application is being run inside a remote
desktop session?

Answered in the interop group, please don't multipost.

For the archives:
System.Windows.Forms.SystemInformation.TerminalServerSession


Mattias
 
Back
Top