Class LinuxVpnHostArgs
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
Usage
Gets the command line's usage: --storage <folder>.
public static string Usage { get; }
Property Value
Methods
TryParse(IReadOnlyList<string>)
Reads a command line.
public static LinuxVpnHostArgs? TryParse(IReadOnlyList<string> args)
Parameters
argsIReadOnlyList<string>The arguments.
Returns
- LinuxVpnHostArgs
The command line, or null where the arguments are not
--storageand a folder alone.