Base solution for your next web application
Open Closed

Is it possible to access and read data from usb devices with asp.net zero #5771


User avatar
0
kwanp created

Hi My project type ASP.NET Core & Angular.

How to access and read data from usb devices when user plugin usb to pc or notebook with asp.net zero and show data to angular app

Thank you


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Because zero is a web application, local files cannot be read unless the user actively authorizes it.

    You can make a page for the user to select a local file and then read and display it to the web page.

  • User Avatar
    0
    alper created
    Support Team

    When you plugin your USB stick, Windows assings a drive letter to the USB drive. Eg: Z You need to grant permission to that drive. See how to grant write permissions to an web api application in IIS.