Interface IPeer
Assembly: MonoTorrent.dll
Syntax
Properties
AmRequestingPiecesCount
Declaration
int AmRequestingPiecesCount { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
BitField
Declaration
BitField BitField { get; }
Property Value
CanCancelRequests
Declaration
bool CanCancelRequests { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
CanRequestMorePieces
Declaration
bool CanRequestMorePieces { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
DownloadSpeed
Declaration
long DownloadSpeed { get; }
Property Value
| Type |
Description |
| System.Int64 |
|
IsAllowedFastPieces
Declaration
List<int> IsAllowedFastPieces { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<System.Int32> |
|
IsChoking
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
IsSeeder
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
MaxPendingRequests
Declaration
int MaxPendingRequests { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
RepeatedHashFails
Declaration
int RepeatedHashFails { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
SuggestedPieces
Declaration
List<int> SuggestedPieces { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<System.Int32> |
|
SupportsFastPeer
Declaration
bool SupportsFastPeer { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
TotalHashFails
Declaration
int TotalHashFails { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
PreferredRequestAmount(Int32)
Returns the number of blocks to request. If the value is greater than 1 it will be
rounded up to 1 full piece.
Declaration
int PreferredRequestAmount(int pieceLength)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pieceLength |
|
Returns
| Type |
Description |
| System.Int32 |
|