PeerPresentationOptions class
How this peer presents itself to the others. Never a storage key. A property left null keeps its persisted value, or gets a generated default on the first onboard.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: OnboardingTypes.cs
public sealed class PeerPresentationOptions
Properties
| Member | Description |
|---|---|
| DisplayName | Human label shown to other peers; any UTF-8. It also feeds a sanitized debug label in the device certificate and the storage slot folder name. |
| AppVersion | |
| AppCustomPeerInfo | Application-defined metadata, for example a JSON blob to coordinate instances of your own application across the session. Read back as PeerSpec.AppCustomPeerInfo. |
DisplayName
Human label shown to other peers; any UTF-8. It also feeds a sanitized debug label in the device certificate and the storage slot folder name.
public string? DisplayName { get; set; }
Value: string
AppVersion
public string? AppVersion { get; set; }
Value: string
AppCustomPeerInfo
Application-defined metadata, for example a JSON blob to coordinate instances of your
own application across the session. Read back as PeerSpec.AppCustomPeerInfo.
public string? AppCustomPeerInfo { get; set; }
Value: string
Methods
WithExtension
public PeerPresentationOptions WithExtension(Structure extension)
Parameters
| Name | Type | Description |
|---|---|---|
extension | Structure |
Returns: PeerPresentationOptions