VS 2005 and Terminal Services Detection

G

GAZ

Is it possible to detect whether an application is started on a regular
computer (xp, vista, etc.) or through terminal services?

Basically, we would like to prevent users from starting our application
through terminal services.

Thanks for any answers and/or ideas.

BR,

GAZ
 
G

GAZ

Silly question really.

System.Windows.Forms.SystemInformation.TerminalServerSession

GAZ
 
R

r norman

Silly question really.

System.Windows.Forms.SystemInformation.TerminalServerSession

Not at all silly if you didn't know that property existed.

I would like to allow terminal server sessions but log the home IP
address or computer name for audit trail purposes. I can get the
address or computer name for the terminal session server. How do I
get the values for the computer being used by the end user? I don't
care if it is a trivial or silly question -- it is one I don't know
the answer to.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top