Click or drag to resize

BackgroundCopyJobAddFile Method (Uri, String, Int64, Int64)

Adds a file to a download job and specifies the range of the file you want to download.

Namespace:  usis.Net.Bits
Assembly:  usis.Net.Bits (in usis.Net.Bits.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
public void AddFile(
	Uri remoteUrl,
	string localName,
	long offset,
	long length
)

Parameters

remoteUrl
Type: SystemUri
The URL of the file on the server.
localName
Type: SystemString
The name of the file on the client.
offset
Type: SystemInt64
Zero-based offset to the beginning of the range of bytes to download from a file.
length
Type: SystemInt64
The length of the range, in bytes. Do not specify a zero byte length. To indicate that the range extends to the end of the file, specify LengthToEndOfFile.
See Also