Show / Hide Table of Contents

Class ComObjectCollector

Collects Com Objects referenced by the registry

Inheritance
System.Object
BaseCollector
ComObjectCollector
Implements
IPlatformRunnable
Inherited Members
BaseCollector.Results
BaseCollector.RunStatus
BaseCollector.Start()
BaseCollector.Stop()
BaseCollector.TryExecute(Nullable<CancellationToken>)
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class ComObjectCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

ComObjectCollector(CollectorOptions, Nullable<Action<CollectObject>>)

Declaration
public ComObjectCollector(CollectorOptions opts = null, Action<CollectObject>? changeHandler = null)
Parameters
Type Name Description
CollectorOptions opts
System.Nullable<Action<CollectObject>> changeHandler

Methods

| Improve this Doc View Source

CanRunOnPlatform()

Com Objects only exist on Windows.

Declaration
public override bool CanRunOnPlatform()
Returns
Type Description
System.Boolean
Overrides
BaseCollector.CanRunOnPlatform()
| Improve this Doc View Source

ParseComObjects(RegistryKey, RegistryView, Boolean)

Parse all the Subkeys of the given SearchKey into ComObjects and returns a list of them

Declaration
public static IEnumerable<CollectObject> ParseComObjects(RegistryKey SearchKey, RegistryView View, bool SingleThreaded = false)
Parameters
Type Name Description
RegistryKey SearchKey

The Registry Key to search

RegistryView View

The View of the registry to use

System.Boolean SingleThreaded
Returns
Type Description
IEnumerable<CollectObject>

Implements

IPlatformRunnable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX