C# Class ShellExtensionClient.FileCopy

Datei anzeigen Open project: gratianlup/SecureDelete Class Usage Examples

Public Methods

Method Description
FileCopy ( ) : System
Start ( ) : void
StartAsync ( ) : void
Stop ( ) : void

Private Methods

Method Description
ComputeFolderSize ( string path, bool subfolders ) : long
ComputeItemsSize ( ) : void
ComputeSize ( ) : long
CopyFile ( string source, string destination ) : void
CopyFileEx ( string lpExistingFileName, string lpNewFileName, CopyProgressRoutine lpProgressRoutine, IntPtr lpData, Int32 &pbCancel, CopyFileFlags dwCopyFlags ) : bool
CopyFolder ( string source, string destination, bool subfolders ) : void
CopyProgressHandler ( long total, long transferred, long streamSize, long StreamByteTrans, uint dwStreamNumber, CopyProgressCallbackReason reason, IntPtr hSourceFile, IntPtr hDestinationFile, IntPtr lpData ) : CopyProgressResult
CopyThread ( ) : void
IsStopped ( ) : bool
ProcessItems ( ) : void
SendCompletedMessage ( string src, string dest, bool failed ) : void
SendProgressChangedMessage ( string src, string dest, long total, long completed ) : void
SendStartMessage ( string src, string dest ) : void
SetStopped ( bool value ) : void

Method Details

FileCopy() public method

public FileCopy ( ) : System
return System

Start() public method

public Start ( ) : void
return void

StartAsync() public method

public StartAsync ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void