.NET programming for Terminal Services

Hello,

Are there any special considerations to be followed when creating .NET programs on MS Terminal Servers? If so, is there a way to detect if the user is running Terminal Services?

Thank you very much.

[213 byte] By [MisterT] at [2007-12-16]
# 1

You need to take into account that multiple users could be running your application at the same time. Typically this isn't a problem, most applications can run multiple instances without any changes.

In .NET 2.0 to check if you are currectly running in a Terminal Services session use the following property:


bool terminalServices = System.Windows.Forms.SystemInformation.TerminalServerSession;

DavidM.Kean at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
David,

Thank you very kindly for your reponse. That is what I needed to know.

Regards
Mister T

MisterT at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified