Application inside remote Desktop?

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?
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top