| 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
)
Public Sub AddFile (
remoteUrl As Uri,
localName As String,
offset As Long,
length As Long
)
public:
void AddFile(
Uri^ remoteUrl,
String^ localName,
long long offset,
long long length
)
member AddFile :
remoteUrl : Uri *
localName : string *
offset : int64 *
length : int64 -> unit
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