Class ZeroInstallEnvironment
- Namespace
- ZeroInstall.Model
- Assembly
- ZeroInstall.Model.dll
Provides access to Zero Install-related environment variables.
public static class ZeroInstallEnvironment
- Inheritance
-
ZeroInstallEnvironment
- Inherited Members
Fields
CliName
The name of the environment variable for Cli.
public const string CliName = "ZEROINSTALL"
Field Value
ExternalFetcherName
The name of the environment variable for ExternalFetch.
public const string ExternalFetcherName = "ZEROINSTALL_EXTERNAL_FETCHER"
Field Value
FeedUriName
The name of the environment variable for FeedUri.
public const string FeedUriName = "ZEROINSTALL_FEED_URI"
Field Value
GuiName
The name of the environment variable for Gui.
public const string GuiName = "ZEROINSTALL_GUI"
Field Value
Properties
Cli
A command-line for launching the CLI version of Zero Install.
public static string? Cli { get; }
Property Value
ExternalFetch
A command-line that downloads a set of Implementations piped in as XML via stdin.
public static string? ExternalFetch { get; }
Property Value
FeedUri
The URI of the feed used to start this program.
public static FeedUri? FeedUri { get; }
Property Value
Gui
A command-line for launching the graphical version of Zero Install.
public static string? Gui { get; }
Property Value
Methods
LegacyMutexName(string?)
Old name for an AppMutex to detect running instances of Zero Install.
public static string LegacyMutexName(string? path = null)
Parameters
path
stringThe directory where the Zero Install instance is located. Leave
null
for the currently running instance.
Returns
Remarks
Usually (but not guaranteed to be) different for multiple instances deployed in different path
s.
LegacyUpdateMutexName(string?)
Old name for an AppMutex to block instances of Zero Install from starting during an update.
public static string LegacyUpdateMutexName(string? path = null)
Parameters
path
stringThe directory where the Zero Install instance is located. Leave
null
for the currently running instance.
Returns
Remarks
Usually (but not guaranteed to be) different for multiple instances deployed in different path
s.
MutexName(string?)
Name for an AppMutex to detect running instances of Zero Install.
public static string MutexName(string? path = null)
Parameters
path
stringThe directory where the Zero Install instance is located. Leave
null
for the currently running instance.
Returns
Remarks
Usually (but not guaranteed to be) different for multiple instances deployed in different path
s.
UpdateMutexName(string?)
Name for an AppMutex to block instances of Zero Install from starting during an update.
public static string UpdateMutexName(string? path = null)
Parameters
path
stringThe directory where the Zero Install instance is located. Leave
null
for the currently running instance.
Returns
Remarks
Usually (but not guaranteed to be) different for multiple instances deployed in different path
s.