Creating a list of drives (volumes)


I am creating the security mechanism for my standalone app using the USB stick. For doing this, I need to create a list of all available volumes (disks) in the Windows PC (C:, D:, etc), e.g. as a String Array.
I cannot find any funtions suitable for creating this volume list - any help?

Thanks in advance!

I think File::findFileSystemRoots() might be what you are looking for

1 Like