I am creating a UWP application. I have a use case where I need to print the amount of free local storage available in GB on the windows device on which the app is running. How can this be done?
Asked
Active
Viewed 40 times
1 Answers
1
For this you can use the DriveInfo class. Following this link will provide you with examples System.IO - DriveInfo. Remember to take into consideration how to print the free storage if the device has more than one internal storage device.

Steffen Nielsen
- 26
- 6