Skip to content

PeerInfo

Namespace: Hex1b

Assembly: Hex1b.dll

A peer connected to the same producer as this adapter.

csharp
public readonly record struct PeerInfo : IEquatable<PeerInfo>

Implements

Constructors

PeerInfo(string, string?)

A peer connected to the same producer as this adapter.

Parameters:

  • PeerId (String): The peer's ID.
  • DisplayName (String): Optional human-readable label.
csharp
public PeerInfo(string PeerId, string? DisplayName)

Properties

DisplayName

Optional human-readable label.

Returns: String

csharp
public string? DisplayName { get; init; }

PeerId

The peer's ID.

Returns: String

csharp
public string PeerId { get; init; }

Released under the MIT License.