C# Class mCleaner.Helpers.Wipe

Afficher le fichier Open project: MicroHealthLLC/mCleaner Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

WipeFile() public méthode

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
Résultat void