C# Class UBCopy.AsyncUnbuffCopyStatic

Exibir arquivo Open project: SQLServerIO/UBCopy Class Usage Examples

Public Properties

Property Type Description
BigFileLock object
Buffer1 byte[]
Buffer2 byte[]
Buffer3 byte[]
CopyBufferSize int

Public Methods

Method Description
AsyncCopyFileUnbuffered ( string inputfile, string outputfile, bool overwrite, bool movefile, bool checksum, int buffersize, bool reportprogress, int bytessecond ) : int
GetMD5HashFromOutputFile ( ) : void

Private Methods

Method Description
AsyncReadFile ( ) : void
AsyncWriteFile ( ) : void
Throttle ( long elapsedMilliseconds ) : void

Throttles for the specified buffer by milliseconds

Method Details

AsyncCopyFileUnbuffered() public static method

public static AsyncCopyFileUnbuffered ( string inputfile, string outputfile, bool overwrite, bool movefile, bool checksum, int buffersize, bool reportprogress, int bytessecond ) : int
inputfile string
outputfile string
overwrite bool
movefile bool
checksum bool
buffersize int
reportprogress bool
bytessecond int
return int

GetMD5HashFromOutputFile() public static method

public static GetMD5HashFromOutputFile ( ) : void
return void

Property Details

BigFileLock public_oe static_oe property

public static object BigFileLock
return object

Buffer1 public_oe static_oe property

public static byte[] Buffer1
return byte[]

Buffer2 public_oe static_oe property

public static byte[] Buffer2
return byte[]

Buffer3 public_oe static_oe property

public static byte[] Buffer3
return byte[]

CopyBufferSize public_oe static_oe property

public static int CopyBufferSize
return int