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
[565 byte] By [rtanner] at [2007-11-19 8:54:26]