コード例 #1
0
 private int GetClientBuildNumber()
 {
     return(NativeMethodsHelper.QuerySessionInformationForInt(_server.Handle, _sessionId,
                                                              WTS_INFO_CLASS.WTSClientBuildNumber));
 }
コード例 #2
0
 private int GetClientHardwareId()
 {
     return(NativeMethodsHelper.QuerySessionInformationForInt(_server.Handle, _sessionId,
                                                              WTS_INFO_CLASS.WTSClientHardwareId));
 }