ashokgelal
ashokgelal

Reputation: 81548

DriveInfo equivalent in WinRT/Metro App

I need to scan all the local drives (and the directories) in a Metro App that I'm working on. I've searched everywhere I could, but without any success. Basically, I need something similar to what is shown as an example here: http://msdn.microsoft.com/en-us/library/system.io.driveinfo.aspx

Upvotes: 2

Views: 652

Answers (1)

Larry Osterman
Larry Osterman

Reputation: 16142

Remember that metro style applications are severely restricted in the parts of the operating system they can access. I don't believe that it is possible for a metro style app to scan arbitrary locations on the users hard disk. You can request permissions to access the users photos, videos and documents, but outside that, your options are limited.

Upvotes: 4

Related Questions