{
if (_config == null)
{
- _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_0 };
+ _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_1_0 };
_config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
_config.SetCallbacks(this);
get { return Lib.ToString(Config.ClientVersion); }
}
+ /// <summary>
+ /// Get the usb vendor id
+ /// </summary>
+ public ushort AdapterVendorId
+ {
+ get { return Lib.GetAdapterVendorId(); }
+ }
+
+ /// <summary>
+ /// Get the usb product id
+ /// </summary>
+ public ushort AdapterProductId
+ {
+ get { return Lib.GetAdapterProductId(); }
+ }
+
+
/// <summary>
/// libCEC
/// </summary>