C# 클래스 BiliRanking.Core.Download.DownloaderHelper

파일 보기 프로젝트 열기: SkiTiSu/BiliRanking

공개 메소드들

메소드 설명
CheckFileOrCreateFile ( IDownloader downloader, object fileLocker ) : void

Check whether the destination file exists. If not, create a file with the same size as the file to be downloaded.

CheckUrl ( IDownloader downloader ) : string

Check the URL to download, including whether it supports Range,

InitializeHttpWebRequest ( IDownloader downloader ) : HttpWebRequest

메소드 상세

CheckFileOrCreateFile() 공개 정적인 메소드

Check whether the destination file exists. If not, create a file with the same size as the file to be downloaded.
public static CheckFileOrCreateFile ( IDownloader downloader, object fileLocker ) : void
downloader IDownloader
fileLocker object
리턴 void

CheckUrl() 공개 정적인 메소드

Check the URL to download, including whether it supports Range,
public static CheckUrl ( IDownloader downloader ) : string
downloader IDownloader
리턴 string

InitializeHttpWebRequest() 공개 정적인 메소드

public static InitializeHttpWebRequest ( IDownloader downloader ) : HttpWebRequest
downloader IDownloader
리턴 System.Net.HttpWebRequest