Table of Contents

Interface IDesktopUiPaths

Namespace
VpnHood.AppHosting.Desktop.Platform
Assembly
VpnHood.AppHosting.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

AppId

Gets the app's id, which no other app on the machine has and a Debug build does not share with a release: it names the person's folders and the window's single instance.

string AppId { get; }

Property Value

string

InstanceName

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

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.