}
/// <summary>
- /// Get the usb vid:prod descriptor
+ /// Get the usb vendor id
/// </summary>
- public string USBDescriptor
+ public ushort AdapterVendorId
{
- get
- {
- DateTime checkDate = new DateTime(1970, 1, 1, 0, 0, 0, 0);
- checkDate = checkDate.AddSeconds(0x5045dbf5);
+ get { return Lib.GetAdapterVendorId(); }
+ }
- return string.Format("2548:100{0}", ((DateTime)Config.FirmwareBuildDate >= checkDate ? "2" : "1"));
- }
+ /// <summary>
+ /// Get the usb product id
+ /// </summary>
+ public ushort AdapterProductId
+ {
+ get { return Lib.GetAdapterProductId(); }
}
+
/// <summary>
/// libCEC
/// </summary>