mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-11-11 09:27:30 +00:00
Add project files.
This commit is contained in:
37
Lantean.QBitTorrentClient/Models/BuildInfo.cs
Normal file
37
Lantean.QBitTorrentClient/Models/BuildInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user