-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTorrentInfo.cs
42 lines (32 loc) · 1.03 KB
/
TorrentInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TorrentCrawler
{
class TorrentInfo
{
public enum Genre { Movie, TV, Music, Game, Application, Book, Anime, Other, XXX}
public String infohash;
public String torrentNameInMagnet;
public String torrentName;
public Genre genre;
public int seeders;
public int leechers;
public String webLink;
public String htmlWebpage;
public TorrentInfo(String infohash, String nameFromMagnet, String name, Genre genre, int seeders, int leechers, String webLink, String htmlWebpage)
{
this.infohash = infohash;
this.torrentNameInMagnet = nameFromMagnet;
this.torrentName = name;
this.genre = genre;
this.seeders = seeders;
this.leechers = leechers;
this.webLink = webLink;
this.htmlWebpage = htmlWebpage;
}
public TorrentInfo()
{ }
}
}