|
-
May 13th, 2005, 03:49 PM
#1
How do I takeover file ownership in .NET
Hi,
I am writing a C# utility that searches for orphan "My Documents" folders and deletes them -- they are redirected and the group policy grants the owner exclusive access. While I know hoiw to take ownership manually from within the properties window, that doesn't help when I'm trying to do it in code. As far as I can tell, ownership is not a property (at least not one available to FileInfo or DirectoryInfo). How do I get to it and change it so that I can delete the foldr tree?
Thanks,
Rob Tanner
Linfield College
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|