Class ServiceCollector
Collects metadata about services registered on the system.
Implements
Inherited Members
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class ServiceCollector : BaseCollector, IPlatformRunnable
Constructors
| Improve this Doc View SourceServiceCollector(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 SourceCanRunOnPlatform()
Determines whether the ServiceCollector can run or not.
Declaration
public override bool CanRunOnPlatform()
Returns
| Type | Description |
|---|---|
| System.Boolean | True on Windows, Linux, Mac OS |