How to get file physical location on hard drive
问题 I want to make a file shedder to completely delete a file, by writing zeros to its physical areas. Files may be stored on hard drive in pieces, not always in a whole block. When I say physical areas. I mean the physical sections that the file is stored, or any reference to those sections that I can perform "writing zeros". Better in C#. 回答1: Unfortunately, that is not entirely possible in C# and neither in C/C++ for that matter even if you are writing a kernel mode driver. Quote from the