C# 클래스 ResumableUpload.MfResumableFileUploadController

파일 보기 프로젝트 열기: MediaFire/mediafire-csharp-open-sdk 1 사용 예제들

공개 메소드들

메소드 설명
CalculateFileHash ( ) : void
MfResumableFileUploadController ( IMediaFireAgent agent, long fileLength, Stream fileStream, string fileName ) : System
Upload ( ResumableUploadDetails resumableUpload ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetBlockHash ( byte bytes, int length ) : string
GetHashDigest ( Sha256Digest hash ) : string
UploadUnit ( int unit, ResumableUploadDetails resumableUpload ) : Task

메소드 상세

CalculateFileHash() 공개 메소드

public CalculateFileHash ( ) : void
리턴 void

MfResumableFileUploadController() 공개 메소드

public MfResumableFileUploadController ( IMediaFireAgent agent, long fileLength, Stream fileStream, string fileName ) : System
agent IMediaFireAgent
fileLength long
fileStream Stream
fileName string
리턴 System

Upload() 공개 메소드

public Upload ( ResumableUploadDetails resumableUpload ) : System.Threading.Tasks.Task
resumableUpload MediaFireSDK.Model.Responses.ResumableUploadDetails
리턴 System.Threading.Tasks.Task