C# Class OleViewDotNet.COMRegistry

显示文件 Open project: tyranid/oleviewdotnet Class Usage Examples

Public Methods

Method Description
GetInterfacesForIUnknown ( IntPtr pObject ) : IEnumerable

Get the list of supported interfaces from an IUnknown pointer

GetInterfacesForObject ( object obj ) : COMInterfaceEntry[]

Get list of supported interfaces for a COM wrapper

GetProgIdsForClsid ( System.Guid clsid ) : IEnumerable
Load ( RegistryKey rootKey ) : COMRegistry
Load ( string path ) : COMRegistry
MapClsidToEntry ( System.Guid clsid ) : COMCLSIDEntry

Map a CLSID to an object.

MapIidToInterface ( System.Guid iid ) : COMInterfaceEntry

Map an IID to an interface object.

Save ( string path ) : void

Private Methods

Method Description
AddEntryToDictionary ( Dictionary dict, COMCLSIDEntry entry ) : void
COMRegistry ( RegistryKey rootKey ) : System

Default constructor

LoadAppIDs ( RegistryKey rootKey ) : void
LoadCLSIDs ( RegistryKey rootKey ) : void

Load CLSID information from the registry key

LoadInterfaces ( RegistryKey rootKey ) : void

Load interface list from registry

LoadLowRights ( ) : void
LoadLowRightsKey ( RegistryKey rootKey ) : void
LoadMimeTypes ( RegistryKey rootKey ) : void
LoadPreApproved ( ) : void
LoadProgIDs ( RegistryKey rootKey ) : void
LoadTypelibs ( RegistryKey rootKey ) : void

Method Details

GetInterfacesForIUnknown() public method

Get the list of supported interfaces from an IUnknown pointer
public GetInterfacesForIUnknown ( IntPtr pObject ) : IEnumerable
pObject System.IntPtr The IUnknown pointer
return IEnumerable

GetInterfacesForObject() public method

Get list of supported interfaces for a COM wrapper
public GetInterfacesForObject ( object obj ) : COMInterfaceEntry[]
obj object COM Wrapper Object
return COMInterfaceEntry[]

GetProgIdsForClsid() public method

public GetProgIdsForClsid ( System.Guid clsid ) : IEnumerable
clsid System.Guid
return IEnumerable

Load() public static method

public static Load ( RegistryKey rootKey ) : COMRegistry
rootKey Microsoft.Win32.RegistryKey
return COMRegistry

Load() public static method

public static Load ( string path ) : COMRegistry
path string
return COMRegistry

MapClsidToEntry() public method

Map a CLSID to an object.
public MapClsidToEntry ( System.Guid clsid ) : COMCLSIDEntry
clsid System.Guid The CLSID to map.
return COMCLSIDEntry

MapIidToInterface() public method

Map an IID to an interface object.
public MapIidToInterface ( System.Guid iid ) : COMInterfaceEntry
iid System.Guid The interface to map.
return COMInterfaceEntry

Save() public method

public Save ( string path ) : void
path string
return void