Class PeerLogEntry
Represents QBittorrent peer log entry.
Inheritance
System.Object
PeerLogEntry
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 PeerLogEntry
Properties
| Improve this Doc View SourceAddress
Gets or sets the IP address of the peer.
Declaration
[JsonProperty("ip")]
[JsonConverter(typeof(StringToIpAddressConverter))]
public IPAddress Address { get; set; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress |
Blocked
Gets or sets a value indicating whether the peer was blocked.
Declaration
[JsonProperty("blocked")]
public bool Blocked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Id
Gets or sets the ID of the peer.
Declaration
[JsonProperty("id")]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Reason
Gets or sets the reason of the block.
Declaration
[JsonProperty("reason")]
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timestamp
Gets or sets the timestamp (milliseconds since epoch).
Declaration
[JsonProperty("timestamp")]
public long Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |