USB on MAC

Dani_S 2,826 Reputation points
2024-05-14T03:27:55.41+00:00

Hi Bruce,

Maui approach is to run windows in a vm, and use visual studio for windows.

Is there USB in MAC ?

How I protected the app for malicious operation that only the app will have

access to it ?

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,959 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 57,641 Reputation points
    2024-05-14T16:15:31.67+00:00

    Maui for macOs only builds Catalyst apps (IOS apps run in a sandbox). They will have access to a mounted USB filesystem, but not direct access to the device. you can use the "mount" command to see the usb device and volume path. example of msdos formatted usb plugged in to Mac:

    /dev/disk14s1 on /Volumes/NO NAME (msdos, local, nodev, nosuid, noowners, noatime, fskit)

    when you plug in a usb, it auto mounts and the filesystem shows up on the desktop. the device was /dev/disk14s1, and the filesystem was mounted on /Volumes (the default mount point).

    0 comments No comments