Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

Is there exist windows API.When i can it will give me the permission to see all the folder\files in "system volume information" folder
Also please guide me about that API calling procedure.
Thanks
Posted

Hi,

Can you share this code with me i am not able to implement it.Please Guide Me to get rid from this.

Thanks
 
Share this answer
 
From C#, you could play around with System.Directory.AccessControl, and more specifically with DirectorySecurity.
If you want to kick down to the windows API, start at SetSecurityInfo. (not for the faint of heart).
Be careful when you use these. Keep a recent backup of your system handy, as messing around with security descriptors may render your system inoperable.
 
Share this answer
 
Please don't push 'answer' if you're asking more questions. Edit your post. C# is not a suitable language for an anti virus program. I also don't understand the number of people who think they can single handedly write a useful version of such a project, when they get stuck on the most basic things.
 
Share this answer
 
Hi,

There is any other way to get access to "system volume information" folder.i am using admin account but all techniques fails.i am making an anti virus for this purpose i have to scan this folder.I also know that may it work on implementing it as a filter driver but i am unable to implement.i did't know how to implement it in c#.

Please help me if you can....

Thanks
 
Share this answer
 
To my knowledge, there is no way to set folder and file permissions from within an application: the risk for abuse is simply too great.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900