C# Class TLSharp.Core.Utils.UploadHelper

显示文件 Open project: sochix/TLSharp

Public Methods

Method Description
UploadFile ( this client, string name, StreamReader reader ) : Task

Private Methods

Method Description
GetFile ( StreamReader reader ) : byte[]
GetFileHash ( byte data ) : string
GetFileParts ( byte file ) : Queue
UploadFile ( string name, StreamReader reader, TelegramClient client, bool isBigFileUpload ) : Task

Method Details

UploadFile() public static method

public static UploadFile ( this client, string name, StreamReader reader ) : Task
client this
name string
reader System.IO.StreamReader
return Task