Get statistics¶
Global¶
ClientEngine.TotalDownloadSpeed
ClientEngine.TotalUploadSpeed
Torrent¶
To get statistics of a torrrent you use the ConnectionMonitor object.
It is available with torrentManager.Monitor
Here is list of what you can get:
- DataBytesDownloaded
- DataBytesUploaded
- DownloadSpeed
- ProtocolBytesDownloaded
- ProtocolBytesUploaded
- UploadSpeed
Peer¶
To have global information about peers:
TorrentManager.Peers.Seeds
TorrentManager.Peers.Leechs
TorrentManager.Peers.Available
You can get detail about each peer in TorrentManager.GetPeers() or from a peerId get in an event.
To get statistics of this particular peer you use the ConnectionMonitor object (same than torrent).
It is available with PeerId.Monitor
- AmChoking
- AmInterested
- BitField
- ClientApp
- Encryptor
- HashFails
- IsChoking
- IsConnected
- IsInterested
- IsSeeder
- IsRequestingPiecesCount
- PeerID
- PiecesSent
- PiecesReceived
- SupportsFastPeer
- SupportsLTMessages
- Uri