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
AutoPlayAssocsUser
A list of associations of AutoPlay events with AutoPlay handlers.
public List<(string name, string handler)> AutoPlayAssocsUser { get; }
Property Value
AutoPlayHandlersMachine
A list of applications registered as AutoPlay handlers.
public List<string> AutoPlayHandlersMachine { get; }
Property Value
AutoPlayHandlersUser
A list of applications registered as AutoPlay handlers.
public List<string> AutoPlayHandlersUser { get; }
Property Value
ClassIDs
A list of COM class IDs.
public List<string> ClassIDs { get; }
Property Value
ContextMenuAll
A list of context menu entries for all filesystem objects (files and directories).
public List<string> ContextMenuAll { get; }
Property Value
ContextMenuDirectories
A list of context menu entries for all directories.
public List<string> ContextMenuDirectories { get; }
Property Value
ContextMenuExecutableFiles
A list of context menu entries for executable files.
public List<string> ContextMenuExecutableFiles { get; }
Property Value
ContextMenuFiles
A list of context menu entries for all files.
public List<string> ContextMenuFiles { get; }
Property Value
FileAssocs
A list of associations of file extensions with programmatic identifiers.
public List<(string extension, string progID)> FileAssocs { get; }
Property Value
ProgIDs
A list of programmatic identifiers.
public List<string> ProgIDs { get; }
Property Value
ProgramsDirs
A list of program installation directories.
public List<string> ProgramsDirs { get; }
Property Value
ProtocolAssocs
A list of protocol associations for well-known protocols (e.g. HTTP, FTP, ...).
public List<(string protocol, string progID)> ProtocolAssocs { get; }
Property Value
RegisteredApplications
A list of applications registered as candidates for default programs.
public List<string> RegisteredApplications { get; }
Property Value
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
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.