C# 클래스 SecureDelete.WipeSession

파일 보기 프로젝트 열기: gratianlup/SecureDelete 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultSessionGuid System.Guid

공개 메소드들

메소드 설명
BeginStart ( AsyncCallback callback, object state ) : bool

Start wiping asynchronously

EndStart ( ) : bool

Wait until the start operation has been completed

GenerateGuid ( ) : void
GenerateReport ( ) : WipeReport

Generate a report containing statistics, failed objects and errors

This method is not intended to be used in conjunction with scheduled tasks.

GetFailedObjects ( bool getAssociatedError ) : SecureDelete.FailedObject[]

Get the category of failed objects

GetWipeErrors ( ) : List

Get the category of wipe errors

GetWipeStatus ( WipeStatus &s, bool includeChildren ) : bool

Get the status of the wiping process

Initialize ( ) : bool

Initialize the wipe session. Needs to be called before Start or BeginStart.

Pause ( ) : bool

Pause the wiping process

Resume ( ) : bool

Resume the wiping process

SetGuid ( System.Guid newGuid ) : void
Start ( ) : bool

Start wiping

Stop ( ) : bool

Stop the wiping process

WipeSession ( ) : System

비공개 메소드들

메소드 설명
AllocateObjects ( ) : void
GenerateStatistics ( ) : void
GetChildrenStatus ( WipeStatus s, NativeMethods wipeStatus, int childrenNumber ) : NativeMethods.WStatus
OnDeserializedMethod ( StreamingContext context ) : void
ReportPluginError ( Plugin plugin, Exception e ) : void
SendSingleWipeObject ( IWipeObject item ) : bool
SendWipeObjects ( List items ) : bool
StartAsync ( object sender, EventArgs e ) : void
StartImpl ( ) : bool

메소드 상세

BeginStart() 공개 메소드

Start wiping asynchronously
public BeginStart ( AsyncCallback callback, object state ) : bool
callback AsyncCallback The method to be called when the operation has been completed.
state object The state object.
리턴 bool

EndStart() 공개 메소드

Wait until the start operation has been completed
public EndStart ( ) : bool
리턴 bool

GenerateGuid() 공개 메소드

public GenerateGuid ( ) : void
리턴 void

GenerateReport() 공개 메소드

Generate a report containing statistics, failed objects and errors
This method is not intended to be used in conjunction with scheduled tasks.
public GenerateReport ( ) : WipeReport
리턴 WipeReport

GetFailedObjects() 공개 메소드

Get the category of failed objects
public GetFailedObjects ( bool getAssociatedError ) : SecureDelete.FailedObject[]
getAssociatedError bool Specifies whether or not to attach the associated error to the wipe object.
리턴 SecureDelete.FailedObject[]

GetWipeErrors() 공개 메소드

Get the category of wipe errors
public GetWipeErrors ( ) : List
리턴 List

GetWipeStatus() 공개 메소드

Get the status of the wiping process
public GetWipeStatus ( WipeStatus &s, bool includeChildren ) : bool
s WipeStatus The WipeStatus object where to store the status
includeChildren bool Include the status of all children of the context
리턴 bool

Initialize() 공개 메소드

Initialize the wipe session. Needs to be called before Start or BeginStart.
public Initialize ( ) : bool
리턴 bool

Pause() 공개 메소드

Pause the wiping process
public Pause ( ) : bool
리턴 bool

Resume() 공개 메소드

Resume the wiping process
public Resume ( ) : bool
리턴 bool

SetGuid() 공개 메소드

public SetGuid ( System.Guid newGuid ) : void
newGuid System.Guid
리턴 void

Start() 공개 메소드

Start wiping
public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

Stop the wiping process
public Stop ( ) : bool
리턴 bool

WipeSession() 공개 메소드

public WipeSession ( ) : System
리턴 System

프로퍼티 상세

DefaultSessionGuid 공개적으로 정적으로 프로퍼티

public static Guid,System DefaultSessionGuid
리턴 System.Guid