Table of Contents

Interface IDesktopUiPaths

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

Defines where the window keeps things: the window's share of an install's paths, and all a host without a service hands it.

public interface IDesktopUiPaths

Properties

InstanceName

Gets the install's own name, as the platform spells it, which names the service and the window's single instance.

string InstanceName { get; }

Property Value

string

UiContentCachePath

Gets the folder of the UI's own extracted content, under the UI's folder, named apart from the app's own copies, which may share that folder where the app runs in the window's process.

string UiContentCachePath { get; }

Property Value

string

Exceptions

InvalidOperationException

The platform cannot name the folder, as the Windows plug-in's outside its package.

UiDataPath

Gets the UI's own folder, per person, as the service's storage is not theirs to write: the UI's extracted content, and a web view's profile.

string UiDataPath { get; }

Property Value

string

Exceptions

InvalidOperationException

The platform cannot name the folder, as the Windows plug-in's outside its package.