0

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?

Praveen
  • 49
  • 4

1 Answers1

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.