Re: Working the disk sectors directly from C#

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Wed, 14 May 2008 03:29:50 -0700, glennanthonyb <glenn.csharp@xxxxxxxxxxx> wrote:

Is there a way of working with sectors directly in C#. Any pointers, C# or
not, would be appreciated.

P/invoke is technically "from C#" when used in C#, so sure...you should be able to do it. :)

That said, I'll reiterate part of my comment from the previous thread: are you sure you need to do this? Your description of the level of "file shredding" you want didn't suggest any need to access the disk sectors directly.

Pete
.