Class ComServer
- Namespace
- ZeroInstall.DesktopIntegration.Windows
- Assembly
- ZeroInstall.DesktopIntegration.dll
Contains control logic for applying ComServer on Windows systems.
public static class ComServer
- Inheritance
-
ComServer
- Inherited Members
Fields
RegKeyClassesIDs
The HKCR registry key for storing COM class IDs.
public const string RegKeyClassesIDs = "CLSID"
Field Value
Methods
Register(FeedTarget, ComServer, IIconStore, bool)
Registers a COM server in the current system.
public static void Register(FeedTarget target, ComServer comServer, IIconStore iconStore, bool machineWide)
Parameters
target
FeedTargetThe application being integrated.
comServer
ComServerThe COM server to be registered.
iconStore
IIconStoreStores icon files downloaded from the web as local files.
machineWide
boolRegister the COM server machine-wide instead of just for the current user.
Exceptions
- OperationCanceledException
The user canceled the task.
- IOException
A problem occurred while writing to the filesystem or registry.
- WebException
A problem occurred while downloading additional data (such as icons).
- UnauthorizedAccessException
Write access to the filesystem or registry is not permitted.
Unregister(ComServer, bool)
Unregisters a COM server in the current system.
public static void Unregister(ComServer comServer, bool machineWide)
Parameters
comServer
ComServerThe COM server to be unregistered.
machineWide
boolUnregister the COM server machine-wide instead of just for the current user.
Exceptions
- IOException
A problem occurred while writing to the filesystem or registry.
- UnauthorizedAccessException
Write access to the filesystem or registry is not permitted.