h1. TorrentManager h2. 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) h2. 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 h2. 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> announces) h2. Methods void ChangePicker(PiecePicker picker) List
<
Piece
>
GetActiveRequests() List<PeerId> 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()