for macOs, Maui only supports catalyst application (iPad app built to be hosted on macOs).
the Maui app will run in a sandbox, and have restricted access to the file system. the sandbox folder structure will have links to ~/downloads and ~/pictures, but not access by default be sure to enable managed file access.
Also enable access to the USB device. You can use IOUSBHost framework to access the USB..