/// <summary> /// Method GetClientProductId. /// </summary> /// <returns>Client ProductId.</returns> private short GetClientProductId() { return(NativeMethodsHelper.QuerySessionInformationForShort(this._server.Handle, this._sessionId, WTS_INFO_CLASS.WTSClientProductId)); }
/// <summary> /// Method GetClientProtocolType. /// </summary> /// <returns>Client ProtocolType.</returns> private ClientProtocolType GetClientProtocolType() { return((ClientProtocolType)NativeMethodsHelper.QuerySessionInformationForShort(this._server.Handle, this._sessionId, WTS_INFO_CLASS.WTSClientProtocolType)); }