C# Class SharpBoot.XCopy

PInvoke wrapper for CopyEx http://msdn.microsoft.com/en-us/library/windows/desktop/aa363852.aspx
Afficher le fichier Open project: zdimension/SharpBoot Class Usage Examples

Méthodes publiques

Méthode Description
Copy ( string source, string destination, bool overwrite, bool nobuffering ) : void
Copy ( string source, string destination, bool overwrite, bool nobuffering, EventHandler handler ) : void

Private Methods

Méthode Description
CopyFileEx ( string lpExistingFileName, string lpNewFileName, CopyProgressRoutine lpProgressRoutine, IntPtr lpData, int &pbCancel, CopyFileFlags dwCopyFlags ) : bool
CopyInternal ( string source, string destination, bool overwrite, bool nobuffering, EventHandler handler ) : void
CopyProgressHandler ( long total, long transferred, long streamSize, long streamByteTrans, uint dwStreamNumber, CopyProgressCallbackReason reason, IntPtr hSourceFile, IntPtr hDestinationFile, IntPtr lpData ) : CopyProgressResult
OnCompleted ( ) : void
OnProgressChanged ( double percent ) : void
XCopy ( ) : System

Method Details

Copy() public static méthode

public static Copy ( string source, string destination, bool overwrite, bool nobuffering ) : void
source string
destination string
overwrite bool
nobuffering bool
Résultat void

Copy() public static méthode

public static Copy ( string source, string destination, bool overwrite, bool nobuffering, EventHandler handler ) : void
source string
destination string
overwrite bool
nobuffering bool
handler EventHandler
Résultat void