Table of Contents

Enum AlwaysOnSupport

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

Specifies who keeps the VPN on at all times on this device.

[JsonConverter(typeof(JsonStringEnumConverter<AlwaysOnSupport>))]
public enum AlwaysOnSupport

Fields

None = 0

Nobody: the device has no always-on VPN.

Device = 1

The device's own setting, which the app only opens (OpenAlwaysOnSettings(CancellationToken)), as Android's.

App = 2

The app itself, by the person's setting (AlwaysOn), as a desktop's service that starts at boot.