Gets the Terminal Services session identifier for the associated process.
Assembly: System (in System.dll)
There is no session associated with this process.
There is no process associated with this session identifier.
The associated process is not on this machine.
Theproperty is not supported on Windows 98.
Theproperty identifies the session in which the application is currently running.
for full trust for the immediate caller. This member cannot be used by partially trusted code.
Available since 2.0