Table of Contents

Class LinuxVpnHostArgs

Namespace
VpnHood.Core.Client.Devices.Linux
Assembly
VpnHood.Core.Client.Devices.Linux.dll

Represents the VPN host's command line, which the daemon writes and the VPN host reads (LinuxVpnHost).

public sealed class LinuxVpnHostArgs
Inheritance
LinuxVpnHostArgs
Inherited Members

Properties

StorageFolder

Gets the app's storage: the kill switch's owner, with the VPN service's folder under it.

public required string StorageFolder { get; init; }

Property Value

string

Usage

Gets the command line's usage: --storage <folder>.

public static string Usage { get; }

Property Value

string

Methods

TryParse(IReadOnlyList<string>)

Reads a command line.

public static LinuxVpnHostArgs? TryParse(IReadOnlyList<string> args)

Parameters

args IReadOnlyList<string>

The arguments.

Returns

LinuxVpnHostArgs

The command line, or null where the arguments are not --storage and a folder alone.