mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-04 23:41:07 +02:00
24 lines
495 B
C#
24 lines
495 B
C#
using HyperbolicDownloaderApi.Networking;
|
|
|
|
namespace HyperbolicDownloaderApi.FileProcessing;
|
|
|
|
public class PublicHyperFileInfo
|
|
{
|
|
public string Hash { get; set; } = string.Empty;
|
|
public List<NetworkSocket> Hosts { get; set; } = [];
|
|
|
|
public PublicHyperFileInfo()
|
|
{
|
|
}
|
|
|
|
public PublicHyperFileInfo(string hash)
|
|
{
|
|
Hash = hash;
|
|
}
|
|
|
|
public PublicHyperFileInfo(string hash, List<NetworkSocket> hosts)
|
|
{
|
|
Hash = hash;
|
|
Hosts = hosts;
|
|
}
|
|
} |