Class TorrentFile
Torrent file info and data class, u can get raw base64 string of torrent file and see file metadata
Inheritance
System.Object
TorrentFile
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: Anilibria.NET.Models.TitleModel.TorrentsModel.TorrentFileModel
Assembly: Anilibria.NET.dll
Syntax
public class TorrentFile
Properties
Base64
Raw base64 string of torrent file. You can convert it to get .torrent file
Declaration
[JsonProperty("raw_base64_file")]
public string Base64 { get; }
Property Value
Type | Description |
---|---|
System.String |
Downloads
Downloads count of current torrent file
Declaration
[JsonProperty("downloads")]
public ulong Downloads { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Hash
Current torrent file hash
Declaration
[JsonProperty("hash")]
public string Hash { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Torrent id in anilibria.tv
Declaration
[JsonProperty("torrent_id")]
public int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Leechers
Leechers count of cerrent torrent file
Declaration
[JsonProperty("leechers")]
public int Leechers { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Metadate
Current torrent file metadate (TorrenetMetadate)
Declaration
[JsonProperty("metadata")]
public TorrenetMetadate Metadate { get; }
Property Value
Type | Description |
---|---|
TorrenetMetadate |
Quality
Torrent and video quality information
Declaration
[JsonProperty("quality")]
public TorrentQuality Quality { get; }
Property Value
Type | Description |
---|---|
TorrentQuality |
RawUrl
Raw url to torrent file
Declaration
[JsonProperty("url")]
public string RawUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
Seeders
Seeders count of currrent torrent file
Declaration
[JsonProperty("seeders")]
public int Seeders { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Series
Information about series of Title
Declaration
[JsonProperty("series")]
public Series Series { get; }
Property Value
Type | Description |
---|---|
Series |
Size
Size in System.Bytes of current torrent file
Declaration
[JsonProperty("total_size")]
public ulong Size { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
UploadedDate
Date of uploading the torrent file to the site
Declaration
[JsonProperty("uploaded_timestamp")]
[JsonConverter(typeof(UnixDateTimeConverter))]
public DateTime? UploadedDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |