Table of Contents

Class DaemonChannelAnswer

Namespace
VpnHood.AppUi.Hosting.Desktop.Channel
Assembly
VpnHood.AppUi.Hosting.Desktop.dll

Represents what the service tells a caller over its channel: its API's address, token and all, which moves at each rebind; or, to a caller who may not use the app, the refusal alone.

public class DaemonChannelAnswer
Inheritance
DaemonChannelAnswer
Inherited Members

Properties

ApiUrl

Gets the service's API address, with its token, or null with a refusal.

public Uri? ApiUrl { get; init; }

Property Value

Uri

CurrentVersion

Gets the version this binary is, as three numbers, which both sides send.

public static string CurrentVersion { get; }

Property Value

string

ProcessId

Gets the ID of the service's process, which the caller's peer check is given.

public int ProcessId { get; init; }

Property Value

int

Refusal

Gets the sentence for a caller who may not use the app, or null for one who may.

public string? Refusal { get; init; }

Property Value

string

Version

Gets the version of the service's binary, as CurrentVersion gives it.

public required string Version { get; init; }

Property Value

string