Overwriting file in C#


  • I want to overwrite file in exact the same area on harddisc where  file was created. Methods that File class offer seem not working like that.

    Wednesday, April 30, 2008 9:10 PM


  • That would take a device driver.  User mode programs have no control whatsoever over the way the file system maps file blocks to disk sectors.  Post to a DDK news group if you really want to pursue this.
    Wednesday, April 30, 2008 10:47 PM