Table of Contents

Class LinuxDesktopHost

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

Provides a Linux head's whole entry point: the machine facts Linux answers joined to the product facts the head answers.

public static class LinuxDesktopHost
Inheritance
LinuxDesktopHost
Inherited Members

Methods

Run(string[], DesktopInitParams)

Runs what the command line asks for, and blocks until it ends: the work runs off the calling thread and the UI on it, so a head calls it from its Main.

public static int Run(string[] args, DesktopInitParams initParams)

Parameters

args string[]

The process's command-line arguments.

initParams DesktopInitParams

The head's init params.

Returns

int

The process's exit code.

Exceptions

InvalidOperationException

The entry assembly has no name, so the install has none.