C# Class mCleaner.Helpers.Wipe

Datei anzeigen Open project: MicroHealthLLC/mCleaner Class Usage Examples

Public Methods

Method Description
WipeFile ( string filename, int timesToWrite ) : void

Deletes a file in a secure way by overwriting it with random garbage data n times.

Private Methods

Method Description
UpdatePassInfo ( int currentPass, int totalPasses ) : void
UpdateSectorInfo ( int currentSector, int totalSectors ) : void
WipeDone ( ) : void
WipeError ( Exception e ) : void

Method Details

WipeFile() public method

Deletes a file in a secure way by overwriting it with random garbage data n times.
public WipeFile ( string filename, int timesToWrite ) : void
filename string Full path of the file to be deleted
timesToWrite int Specifies the number of times the file should be overwritten
return void