Zero Install .NET API 2.20.0
ZeroInstall.Commands.ZeroInstallInstance Class Reference

Provides information about the currently running instance of Zero Install. More...

Static Public Member Functions

static ? string FindOther (bool needsMachineWide=true)
 Tries to find another instance of Zero Install deployed on this system. More...
 
static ? ImplementationVersion SilentUpdateCheck ()
 Silently checks if an update for Zero Install is available. More...
 

Properties

static ImplementationVersion Version [get]
 The current version of Zero Install.
 
static bool IsRunningFromCache [get]
 Indicates whether Zero Install is running from an implementation cache.
 
static bool IsRunningFromPerUserDir [get]
 Indicates whether Zero Install is running from a user-specific location.
 

Detailed Description

Provides information about the currently running instance of Zero Install.

Member Function Documentation

◆ FindOther()

static ? string ZeroInstall.Commands.ZeroInstallInstance.FindOther ( bool  needsMachineWide = true)
inlinestatic

Tries to find another instance of Zero Install deployed on this system.

Parameters
needsMachineWidetrue if a machine-wide install location is required; false if a user-specific location will also do.
Returns
The installation directory of another instance of Zero Install; null if none was found.

◆ SilentUpdateCheck()

static ? ImplementationVersion ZeroInstall.Commands.ZeroInstallInstance.SilentUpdateCheck ( )
inlinestatic

Silently checks if an update for Zero Install is available.

Returns
The version number of the newest available update; null if no update is available.

The documentation for this class was generated from the following file: