Table of Contents

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

string

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 FeedTarget

The application being integrated.

comServer ComServer

The COM server to be registered.

iconStore IIconStore

Stores icon files downloaded from the web as local files.

machineWide bool

Register 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 ComServer

The COM server to be unregistered.

machineWide bool

Unregister 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.