Show / Hide Table of Contents

Class PeerPartialInfo

Provides the full or partial information about a torrent peer.

Inheritance
System.Object
PeerPartialInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public class PeerPartialInfo

Properties

| Improve this Doc View Source

AdditionalData

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>
| Improve this Doc View Source

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.

| Improve this Doc View Source

Client

Gets or sets the peer client.

Declaration
[JsonProperty("client")]
public string Client { get; set; }
Property Value
Type Description
System.String

The client.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Country

Gets or sets the country.

Declaration
[JsonProperty("country")]
public string Country { get; set; }
Property Value
Type Description
System.String

The country.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Flags

Gets or sets the flags.

Declaration
[JsonProperty("flags")]
public string Flags { get; set; }
Property Value
Type Description
System.String

The flags.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Port

Gets or sets the port.

Declaration
[JsonProperty("port")]
public int? Port { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

The port.

| Improve this Doc View Source

Progress

Gets or sets the progress.

Declaration
[JsonProperty("progress")]
public double? Progress { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

The progress.

| Improve this Doc View Source

Relevance

Gets or sets the relevance.

Declaration
[JsonProperty("relevance")]
public double? Relevance { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

The relevance.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich