Add project files.

This commit is contained in:
ahjephson
2024-04-22 14:15:07 +01:00
parent ce7b627fa9
commit f9847c60f5
166 changed files with 14345 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
using System.Text.Json.Serialization;
namespace Lantean.QBitTorrentClient.Models
{
public record BuildInfo
{
[JsonConstructor]
public BuildInfo(
string qTVersion,
string libTorrentVersion,
string boostVersion,
string openSSLVersion,
int bitness)
{
QTVersion = qTVersion;
LibTorrentVersion = libTorrentVersion;
BoostVersion = boostVersion;
OpenSSLVersion = openSSLVersion;
Bitness = bitness;
}
[JsonPropertyName("qt")]
public string QTVersion { get; }
[JsonPropertyName("libtorrent")]
public string LibTorrentVersion { get; }
[JsonPropertyName("boost")]
public string BoostVersion { get; }
[JsonPropertyName("openssl")]
public string OpenSSLVersion { get; }
[JsonPropertyName("bitness")]
public int Bitness { get; }
}
}