mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-23 04:52:22 +00:00
14 lines
304 B
C#
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}";
|
|
}
|
|
}
|
|
} |