Is there anyway, in a program, to detect if a program is being run from inside a remote desktop session or if the program is being run normal in .NET 2.0? What I\'m trying t
http://www.appdeploy.com/messageboards/tm.asp?m=21420&mpage=1&key=厬
The system variable %sessionname% will return Console if its local or RDP* if its remote.
isRDP = [System.Environment] .GetEnvironmentVariable("SESSIONNAME").StartsWith("RDP-")