TorrentManager

Events:

PeerConnected(object sender, PeerConnectionEventArgs  args)
PeerDisconnected(object sender, PeerConnectionEventArgs args)
PeersFound(object sender, PeersAddedEventArgs args)
PieceHashed(object sender, PieceHashedEventArgs args)
TorrentStateChanged(object sender, TorrentStateChangedEventArgs args)

Properties:

BitField Bitfield
bool CanUseDht
bool Complete
ClientEngine Engine
Error Error
int PeerReviewRoundsComplete
bool HashChecked
bool HasMetadata
ConnectionMonitor Monitor
int OpenConnections
PeerManager Peers
PieceManager PieceManager
double Progress
string SavePath
TorrentSettings Settings
TorrentState State
DateTime StartTime
TrackerManager TrackerManager
Torrent Torrent
int UploadingTo
bool IsInitialSeeding
InfoHash InfoHash

Constructor:

TorrentManager(Torrent torrent, string savePath, TorrentSettings settings)
TorrentManager(Torrent torrent, string savePath, TorrentSettings settings, string baseDirectory)
TorrentManager(InfoHash infoHash, string savePath, TorrentSettings settings, string torrentSave, List<MonoTorrentCollection<string>> announces)

Methods

void ChangePicker(PiecePicker picker)
List<&lt;Piece&gt;> GetActiveRequests()
List<&lt;PeerId&gt;> GetPeers()
void HashCheck(bool autoStart)
void MoveFiles(string newPath, bool overWriteExisting)
void Pause()
void Start()
WaitHandle Stop()
void LoadFastResume(FastResume data)
FastResume SaveFastResume()
void Dispose()
string ToString( )
bool Equals(object obj)
bool Equals(TorrentManager other)
int GetHashCode()