We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi, I use Blazor wasm project and after I choose device in Chrome, I get:
My call:
var requestedDevices = await _usb.RequestDevice(); bool opened = requestedDevices.Opened; Console.WriteLine("Conbox opened state: " + opened); await requestedDevices.Open();
Response: blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Access denied. undefined Microsoft.JSInterop.JSException: Access denied. undefined at System.Threading.Tasks.ValueTask1[TResult].get_Result () <0x306d990 + 0x00034> in :0 at Blazor.Extensions.WebUSB.USBDeviceMethods.Open (Blazor.Extensions.WebUSB.USBDevice device) [0x0003c] in /home/runner/work/WebUSB/WebUSB/src/Blazor.Extensions.WebUSB/USBDevice.Methods.cs:25 `
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Access denied. undefined Microsoft.JSInterop.JSException: Access denied. undefined at System.Threading.Tasks.ValueTask
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I use Blazor wasm project and after I choose device in Chrome, I get:
My call:
var requestedDevices = await _usb.RequestDevice(); bool opened = requestedDevices.Opened; Console.WriteLine("Conbox opened state: " + opened); await requestedDevices.Open();
Response:
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Access denied. undefined Microsoft.JSInterop.JSException: Access denied. undefined at System.Threading.Tasks.ValueTask
1[TResult].get_Result () <0x306d990 + 0x00034> in :0at Blazor.Extensions.WebUSB.USBDeviceMethods.Open (Blazor.Extensions.WebUSB.USBDevice device) [0x0003c] in /home/runner/work/WebUSB/WebUSB/src/Blazor.Extensions.WebUSB/USBDevice.Methods.cs:25 `
The text was updated successfully, but these errors were encountered: