sunjinbo
sunjinbo

Reputation: 2187

Can I create a Hidden folder for Universal Windows Phone App?

I want to create a Hidden folder in public user data area (e.g C:\Data\Users\Public\Videos), and I have tried to implement it in C#, but I can't find relevant API, is there have a way to implement it in C++\CLI ?

How can I do it?

Upvotes: 0

Views: 279

Answers (1)

PaulH
PaulH

Reputation: 7863

No, because a normal application can't use the CreateFile() Win32 API (you'll get an Access Denied error code). And, as you pointed out, the C# API doesn't have any option for hiding files.

Upvotes: 3

Related Questions