Files
HyperbolicDownloader/HyperbolicDownloaderApi/FileProcessing/PublicHyperFileInfo.cs
T
2023-12-14 19:00:47 +01:00

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;
}
}