Show / Hide Table of Contents

Class ServiceCollector

Collects metadata about services registered on the system.

Inheritance
System.Object
BaseCollector
ServiceCollector
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 ServiceCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

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

Declaration
public ServiceCollector(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()

Determines whether the ServiceCollector can run or not.

Declaration
public override bool CanRunOnPlatform()
Returns
Type Description
System.Boolean

True on Windows, Linux, Mac OS

Overrides
BaseCollector.CanRunOnPlatform()

Implements

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