C# Класс apophis.SharpIRC.IrcFeatures.DccSend

Dcc Send Connection, Filetransfer
Наследование: DccConnection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AcceptRequest ( Stream file, long offset ) : bool

With this methode you can accept a DCC SEND Request you got from another User

Приватные методы

Метод Описание
DccSend ( IrcFeatures irc, IPAddress externalIpAdress, CtcpEventArgs e ) : System
DccSend ( IrcFeatures irc, string user, IPAddress externalIpAdress, Stream file, string filename, long filesize, DccSpeed speed, bool passive, Priority priority ) : System
InitWork ( Object stateInfo ) : void
SetRemote ( CtcpEventArgs e ) : bool
TryAccept ( CtcpEventArgs e ) : bool
TryResume ( CtcpEventArgs e ) : bool

Описание методов

AcceptRequest() публичный Метод

With this methode you can accept a DCC SEND Request you got from another User
public AcceptRequest ( Stream file, long offset ) : bool
file Stream Any Stream you want use as a file, if you use offset it should be Seekable
offset long Offset to start a Resume Request for the rest of a file
Результат bool