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

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

공개 메소드들

메소드 설명
DownloadMemory ( Uri source, long bytesTotal = -1 ) : System

Creates a new download task.

보호된 메소드들

메소드 설명
CreateTargetStream ( ) : Stream

비공개 메소드들

메소드 설명
GetData ( ) : byte[]

메소드 상세

CreateTargetStream() 보호된 메소드

protected CreateTargetStream ( ) : Stream
리턴 Stream

DownloadMemory() 공개 메소드

Creates a new download task.
public DownloadMemory ( Uri source, long bytesTotal = -1 ) : System
source System.Uri The URL the file is to be downloaded from.
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