C# Class ResumableUpload.MfResumableFileUploadController

Afficher le fichier Open project: MediaFire/mediafire-csharp-open-sdk Class Usage Examples

Méthodes publiques

Méthode Description
CalculateFileHash ( ) : void
MfResumableFileUploadController ( IMediaFireAgent agent, long fileLength, Stream fileStream, string fileName ) : System
Upload ( ResumableUploadDetails resumableUpload ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
GetBlockHash ( byte bytes, int length ) : string
GetHashDigest ( Sha256Digest hash ) : string
UploadUnit ( int unit, ResumableUploadDetails resumableUpload ) : Task

Method Details

CalculateFileHash() public méthode

public CalculateFileHash ( ) : void
Résultat void

MfResumableFileUploadController() public méthode

public MfResumableFileUploadController ( IMediaFireAgent agent, long fileLength, Stream fileStream, string fileName ) : System
agent IMediaFireAgent
fileLength long
fileStream Stream
fileName string
Résultat System

Upload() public méthode

public Upload ( ResumableUploadDetails resumableUpload ) : System.Threading.Tasks.Task
resumableUpload MediaFireSDK.Model.Responses.ResumableUploadDetails
Résultat System.Threading.Tasks.Task