Zero Install .NET API 2.20.0
ZeroInstall.Publish.Capture.Snapshot Class Reference

Represents the systems state at a point in time. This is used to determine changes. More...

Inheritance diagram for ZeroInstall.Publish.Capture.Snapshot:
ZeroInstall.Publish.Capture.SnapshotDiff

Static Public Member Functions

static Snapshot Take ()
 Takes a snapshot of the current system state. More...
 

Properties

List<(string name, string client)> ServiceAssocs = new() [get]
 A list of associations of services with clients (e.g. web browsers, mail readers, ...).
 
List< string > AutoPlayHandlersUser = new() [get]
 A list of applications registered as AutoPlay handlers.
 
List< string > AutoPlayHandlersMachine = new() [get]
 A list of applications registered as AutoPlay handlers.
 
List<(string name, string handler)> AutoPlayAssocsUser = new() [get]
 A list of associations of AutoPlay events with AutoPlay handlers.
 
List<(string name, string handler)> AutoPlayAssocsMachine = new() [get]
 A list of associations of AutoPlay events with AutoPlay handlers.
 
List<(string extension, string progID)> FileAssocs = new() [get]
 A list of associations of file extensions with programmatic identifiers.
 
List<(string protocol, string progID)> ProtocolAssocs = new() [get]
 A list of protocol associations for well-known protocols (e.g. HTTP, FTP, ...).
 
List< string > ProgIDs = new() [get]
 A list of programmatic identifiers.
 
List< string > ClassIDs = new() [get]
 A list of COM class IDs.
 
List< string > RegisteredApplications = new() [get]
 A list of applications registered as candidates for default programs.
 
List< string > ContextMenuFiles = new() [get]
 A list of context menu entries for all files.
 
List< string > ContextMenuExecutableFiles = new() [get]
 A list of context menu entries for executable files.
 
List< string > ContextMenuDirectories = new() [get]
 A list of context menu entries for all directories.
 
List< string > ContextMenuAll = new() [get]
 A list of context menu entries for all filesystem objects (files and directories).
 
List< string > ProgramsDirs = new() [get]
 A list of program installation directories.
 

Detailed Description

Represents the systems state at a point in time. This is used to determine changes.

Member Function Documentation

◆ Take()

static Snapshot ZeroInstall.Publish.Capture.Snapshot.Take ( )
inlinestatic

Takes a snapshot of the current system state.

Returns
The newly created snapshot.
Exceptions
IOExceptionThere was an error accessing the registry or file system.
UnauthorizedAccessExceptionRead access to the registry or file system was not permitted.
PlatformNotSupportedExceptionThis method is called while running on a platform for which capturing is not supported.

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