Application inside remote Desktop?

Application inside remote Desktop?

am 22.11.2007 16:06:01 von ARTMIC

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?

Re: Application inside remote Desktop?

am 22.11.2007 21:11:24 von mattias.dont.want.spam

>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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.