C# Class ZeroInstall.DesktopIntegration.Windows.ComServer

Contains control logic for applying Store.Model.Capabilities.ComServer on Windows systems.
ファイルを表示 Open project: 0install/0install-win

Public Methods

Method Description
Register ( FeedTarget target, [ comServer, bool machineWide, [ handler ) : void

Registers a COM server in the current system.

Unregister ( [ comServer, bool machineWide ) : void

Unregisters a COM server in the current system.

Method Details

Register() public static method

Registers a COM server in the current system.
The user canceled the task. A problem occurs while writing to the filesystem or registry. A problem occured while downloading additional data (such as icons). Write access to the filesystem or registry is not permitted. The data in is invalid.
public static Register ( FeedTarget target, [ comServer, bool machineWide, [ handler ) : void
target ZeroInstall.Store.FeedTarget The application being integrated.
comServer [ The COM server to be registered.
machineWide bool Register the COM server machine-wide instead of just for the current user.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
return void

Unregister() public static method

Unregisters a COM server in the current system.
A problem occurs while writing to the filesystem or registry. Write access to the filesystem or registry is not permitted. The data in is invalid.
public static Unregister ( [ comServer, bool machineWide ) : void
comServer [ The COM server to be unregistered.
machineWide bool Unregister the COM server machine-wide instead of just for the current user.
return void