mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-11-09 16:37:13 +00:00
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Lantean.QBitTorrentClient.Models
|
|
{
|
|
public record BuildInfo
|
|
{
|
|
[JsonConstructor]
|
|
public BuildInfo(
|
|
string qTVersion,
|
|
string libTorrentVersion,
|
|
string boostVersion,
|
|
string openSSLVersion,
|
|
string zlibVersion,
|
|
int bitness)
|
|
{
|
|
QTVersion = qTVersion;
|
|
LibTorrentVersion = libTorrentVersion;
|
|
BoostVersion = boostVersion;
|
|
OpenSSLVersion = openSSLVersion;
|
|
ZLibVersion = zlibVersion;
|
|
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("zlib")]
|
|
public string ZLibVersion { get; }
|
|
|
|
[JsonPropertyName("bitness")]
|
|
public int Bitness { get; }
|
|
}
|
|
} |