Table of Contents

Class Snapshot

Namespace
ZeroInstall.Publish.Capture
Assembly
ZeroInstall.Publish.dll

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

[Serializable]
public class Snapshot
Inheritance
Snapshot
Derived
Inherited Members

Properties

AutoPlayAssocsMachine

A list of associations of AutoPlay events with AutoPlay handlers.

public List<(string name, string handler)> AutoPlayAssocsMachine { get; }

Property Value

List<(string name, string client)>

AutoPlayAssocsUser

A list of associations of AutoPlay events with AutoPlay handlers.

public List<(string name, string handler)> AutoPlayAssocsUser { get; }

Property Value

List<(string name, string client)>

AutoPlayHandlersMachine

A list of applications registered as AutoPlay handlers.

public List<string> AutoPlayHandlersMachine { get; }

Property Value

List<string>

AutoPlayHandlersUser

A list of applications registered as AutoPlay handlers.

public List<string> AutoPlayHandlersUser { get; }

Property Value

List<string>

ClassIDs

A list of COM class IDs.

public List<string> ClassIDs { get; }

Property Value

List<string>

ContextMenuAll

A list of context menu entries for all filesystem objects (files and directories).

public List<string> ContextMenuAll { get; }

Property Value

List<string>

ContextMenuDirectories

A list of context menu entries for all directories.

public List<string> ContextMenuDirectories { get; }

Property Value

List<string>

ContextMenuExecutableFiles

A list of context menu entries for executable files.

public List<string> ContextMenuExecutableFiles { get; }

Property Value

List<string>

ContextMenuFiles

A list of context menu entries for all files.

public List<string> ContextMenuFiles { get; }

Property Value

List<string>

FileAssocs

A list of associations of file extensions with programmatic identifiers.

public List<(string extension, string progID)> FileAssocs { get; }

Property Value

List<(string name, string client)>

ProgIDs

A list of programmatic identifiers.

public List<string> ProgIDs { get; }

Property Value

List<string>

ProgramsDirs

A list of program installation directories.

public List<string> ProgramsDirs { get; }

Property Value

List<string>

ProtocolAssocs

A list of protocol associations for well-known protocols (e.g. HTTP, FTP, ...).

public List<(string protocol, string progID)> ProtocolAssocs { get; }

Property Value

List<(string name, string client)>

RegisteredApplications

A list of applications registered as candidates for default programs.

public List<string> RegisteredApplications { get; }

Property Value

List<string>

ServiceAssocs

A list of associations of services with clients (e.g. web browsers, mail readers, ...).

public List<(string name, string client)> ServiceAssocs { get; }

Property Value

List<(string name, string client)>

Methods

Take()

Takes a snapshot of the current system state.

public static Snapshot Take()

Returns

Snapshot

The newly created snapshot.

Exceptions

IOException

There was an error accessing the registry or file system.

UnauthorizedAccessException

Read access to the registry or file system was not permitted.

PlatformNotSupportedException

This method is called while running on a platform for which capturing is not supported.