C# Class SecureDeleteWinForms.WipeTools.WipeTool

显示文件 Open project: gratianlup/SecureDelete Class Usage Examples

Public Methods

Method Description
AfterActionsFinished ( object sender, EventArgs e ) : void
BeforeActionsFinished ( object sender, EventArgs e ) : void
DisposeTool ( ) : void
EnsureContextNumber ( WipeStatus status ) : void
ExecuteAfterWipeActions ( ) : void
ExecuteBeforeWipeActions ( ) : void
GetItemStatus ( int contextId ) : ItemStatus
InitializeTool ( ) : void
Pause ( ) : void
Start ( ) : void
StartWipeProcess ( ) : void
Stop ( ) : void
WipeTool ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AfterStop ( ) : void
CancelButton_Click ( object sender, EventArgs e ) : void
GetClusterTipsString ( long index, long total ) : string
GetDurationString ( long speed, long wiped, long toWipe ) : string
GetMFTString ( long index, long total ) : string
GetSizeString ( long wiped, long toWipe ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RegisterTask ( ) : void
RegisterView ( WipeStatusView view ) : void
SaveReport ( ) : void
SaveReportLabel_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
ShowStatistics ( ) : void
StatusTimer_Tick ( object sender, EventArgs e ) : void
UnregisterTask ( ) : void
UnregisterView ( ItemStatus view ) : void
UnregisterViews ( ) : void
UpdateStatus ( WipeStatus status ) : void
UpdateViewStatus ( WipeStatus status ) : void
WipeStarted ( IAsyncResult result ) : void
WipeStopped ( object sender, EventArgs e ) : void
linkLabel1_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void

Method Details

AfterActionsFinished() public method

public AfterActionsFinished ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

BeforeActionsFinished() public method

public BeforeActionsFinished ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DisposeTool() public method

public DisposeTool ( ) : void
return void

EnsureContextNumber() public method

public EnsureContextNumber ( WipeStatus status ) : void
status WipeStatus
return void

ExecuteAfterWipeActions() public method

public ExecuteAfterWipeActions ( ) : void
return void

ExecuteBeforeWipeActions() public method

public ExecuteBeforeWipeActions ( ) : void
return void

GetItemStatus() public method

public GetItemStatus ( int contextId ) : ItemStatus
contextId int
return ItemStatus

InitializeTool() public method

public InitializeTool ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartWipeProcess() public method

public StartWipeProcess ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

WipeTool() public method

public WipeTool ( ) : System
return System