Reputation: 2187
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
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