Table of Contents

Class AlwaysOnState

Namespace
VpnHood.AppLib.Api.App
Assembly
VpnHood.AppLib.Api.dll

Represents what always-on does where the app keeps it itself (App): why it waits and until when, or why it has stopped.

public class AlwaysOnState
Inheritance
AlwaysOnState
Inherited Members

Properties

Error

Gets the failure it waits after, or the one that stopped it; null where a person's disconnect stopped it.

public required ApiError? Error { get; init; }

Property Value

ApiError

RetryTime

Gets when it connects again, while it waits, or null.

public required DateTime? RetryTime { get; init; }

Property Value

DateTime?

Status

Gets where always-on stands.

public required AlwaysOnStatus Status { get; init; }

Property Value

AlwaysOnStatus