Process.SessionId Property
.NET Framework 3.0
Gets the Terminal Services session identifier for the associated process.
Namespace: System.Diagnostics
Assembly: System (in system.dll)
Assembly: System (in system.dll)
- LinkDemand for full trust for the immediate caller. This member cannot be used by partially trusted code.