コード例 #1
0
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID)
 {
     _windowStationName.Value = sessionInfo.WinStationName;
     _connectionState.Value = sessionInfo.State;
 }
コード例 #2
0
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID, sessionInfo.WinStationName, sessionInfo.State)
 {
 }
コード例 #3
0
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID, sessionInfo.WinStationName, sessionInfo.State)
 {
 }
コード例 #4
0
 public TerminalServicesSession(ITerminalServer server, WTS_SESSION_INFO sessionInfo)
     : this(server, sessionInfo.SessionID)
 {
     _windowStationName.Value = sessionInfo.WinStationName;
     _connectionState.Value   = sessionInfo.State;
 }