.NET Framework 4.6 and 4.5
Gets the Terminal Services session identifier for the associated process.
Public ReadOnly Property SessionId As Integer
Type: System.Int32The Terminal Services session identifier for the associated process.
The SessionId property identifies the session in which the application is currently running.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
(1500 characters remaining)
Thank you for your feedback