Files
qbtmud/Lantean.QBitTorrentClient/Models/PeerId.cs
2024-04-22 14:15:07 +01:00

14 lines
304 B
C#

namespace Lantean.QBitTorrentClient.Models
{
public readonly struct PeerId(string host, int port)
{
public string Host { get; } = host;
public int Port { get; } = port;
public override string ToString()
{
return $"{Host}:{Port}";
}
}
}