Show / Hide Table of Contents

Class BaseCollector

Base class for all collectors.

Inheritance
System.Object
BaseCollector
CertificateCollector
ComObjectCollector
EventLogCollector
FileSystemCollector
FirewallCollector
OpenPortCollector
RegistryCollector
ServiceCollector
UserAccountCollector
Implements
IPlatformRunnable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public abstract class BaseCollector : IPlatformRunnable

Constructors

| Improve this Doc View Source

BaseCollector(CollectCommandOptions, Action<CollectObject>)

Declaration
protected BaseCollector(CollectCommandOptions opts, Action<CollectObject> changeHandler)
Parameters
Type Name Description
CollectCommandOptions opts
System.Action<CollectObject> changeHandler

Properties

| Improve this Doc View Source

Results

Declaration
public ConcurrentStack<CollectObject> Results { get; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentStack<CollectObject>
| Improve this Doc View Source

RunStatus

Declaration
public RUN_STATUS RunStatus { get; }
Property Value
Type Description
RUN_STATUS

Methods

| Improve this Doc View Source

CanRunOnPlatform()

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

ExecuteInternal()

Declaration
public abstract void ExecuteInternal()
| Improve this Doc View Source

Start()

Declaration
public void Start()
| Improve this Doc View Source

Stop()

Declaration
public void Stop()
| Improve this Doc View Source

TryExecute()

Declaration
public void TryExecute()

Implements

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