Describe the bug
Method throws InvalidOperationException on returning.
System.InvalidOperationException: ToInt does not work for value type VT_UI4
at MediaDevices.Internal.PropVariantFacade.ToInt()
at MediaDevices.MediaDevice.<>c.<VendorOpcodes>b__150_0(PropVariantFacade p)
at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
To Reproduce
Steps to reproduce the behavior:
Connect a device
Run the following code.
var device = MediaDevice.GetDevices().First();
var device.Connect();
var opcodes = device.VendorOpcodes().ToArray();
Expected behavior
An IEnumerable of ints is returned.
Describe the bug Method throws
InvalidOperationException
on returning.To Reproduce Steps to reproduce the behavior:
Expected behavior An IEnumerable of ints is returned.
Device Samsung A33 5G, Android 13 Apple iPhone 6, iOS 12.5.7
Version: Nuget Package 1.10.0
Additional context Add any other context about the problem here.