public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID)
 {
     _windowStationName.Value = sessionInfo.WinStationName;
     _connectionState.Value = sessionInfo.State;
 }
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID, sessionInfo.WinStationName, sessionInfo.State)
 {
 }
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID, sessionInfo.WinStationName, sessionInfo.State)
 {
 }
Example #4
0
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID)
 {
     _windowStationName.Value = sessionInfo.WinStationName;
     _connectionState.Value   = sessionInfo.State;
 }