C# 클래스 NanoByte.Common.Net.DownloadFile

Downloads a file from a specific internet address to a local file.
상속: DownloadTask
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
DownloadFile ( [ source, [ target, long bytesTotal = -1 ) : System

Creates a new download task.

보호된 메소드들

메소드 설명
CreateTargetStream ( ) : Stream

메소드 상세

CreateTargetStream() 보호된 메소드

protected CreateTargetStream ( ) : Stream
리턴 Stream

DownloadFile() 공개 메소드

Creates a new download task.
public DownloadFile ( [ source, [ target, long bytesTotal = -1 ) : System
source [ The URL the file is to be downloaded from.
target [ The local path to save the file to. A preexisting file will be overwritten.
bytesTotal long The number of bytes the file to be downloaded is long. The file will be rejected if it does not have this length. -1 if the size is unknown.
리턴 System