Class PeerPartialInfo
Provides the full or partial information about a torrent peer.
Inheritance
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class PeerPartialInfo
Properties
| Improve this Doc View SourceAdditionalData
Additional properties not handled by this library.
Declaration
[JsonExtensionData]
public IDictionary<string, JToken> AdditionalData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, Newtonsoft.Json.Linq.JToken> |
Address
Gets or sets the peer IP address.
Declaration
[JsonProperty("ip")]
[JsonConverter(typeof(StringToIpAddressConverter))]
public IPAddress Address { get; set; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress | The peer IP address. |
Client
Gets or sets the peer client.
Declaration
[JsonProperty("client")]
public string Client { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client. |
ConnectionType
Gets or sets the type of the connection.
Declaration
[JsonProperty("connection")]
public string ConnectionType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the connection. |
Country
Gets or sets the country.
Declaration
[JsonProperty("country")]
public string Country { get; set; }
Property Value
Type | Description |
---|---|
System.String | The country. |
CountryCode
Gets or sets the country code.
Declaration
[JsonProperty("country_code")]
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The country code. |
Downloaded
Gets or sets the amount of downloaded data.
Declaration
[JsonProperty("downloaded")]
public long? Downloaded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The amount of downloaded data. |
DownloadSpeed
Gets or sets the download speed.
Declaration
[JsonProperty("dl_speed")]
public int? DownloadSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The download speed. |
Files
Gets or sets the files.
Declaration
[JsonProperty("files")]
[JsonConverter(typeof(StringToListConverter), new object[]{"\n", false})]
public IReadOnlyList<string> Files { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.String> | The files. |
Flags
Gets or sets the flags.
Declaration
[JsonProperty("flags")]
public string Flags { get; set; }
Property Value
Type | Description |
---|---|
System.String | The flags. |
FlagsDescription
Gets or sets the flags description.
Declaration
[JsonProperty("flags_desc")]
public string FlagsDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | The flags description. |
Port
Gets or sets the port.
Declaration
[JsonProperty("port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The port. |
Progress
Gets or sets the progress.
Declaration
[JsonProperty("progress")]
public double? Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The progress. |
Relevance
Gets or sets the relevance.
Declaration
[JsonProperty("relevance")]
public double? Relevance { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The relevance. |
Uploaded
Gets or sets the amount of uploaded data.
Declaration
[JsonProperty("uploaded")]
public long? Uploaded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The amount of uploaded data. |
UploadSpeed
Gets or sets the upload speed.
Declaration
[JsonProperty("up_speed")]
public int? UploadSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The upload speed. |