Show / Hide Table of Contents

Class FileSystemCollector

Collects Filesystem Data from the local file system.

Inheritance
System.Object
BaseCollector
FileSystemCollector
Implements
IPlatformRunnable
Inherited Members
BaseCollector.Results
BaseCollector.TryExecute()
BaseCollector.RunStatus
BaseCollector.Start()
BaseCollector.Stop()
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 class FileSystemCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

FileSystemCollector(CollectCommandOptions, Action<CollectObject>)

Declaration
public FileSystemCollector(CollectCommandOptions opts = null, Action<CollectObject> changeHandler = null)
Parameters
Type Name Description
CollectCommandOptions opts
System.Action<CollectObject> changeHandler

Properties

| Improve this Doc View Source

ClusterSizes

Declaration
public static ConcurrentDictionary<string, uint> ClusterSizes { get; set; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentDictionary<System.String, System.UInt32>
| Improve this Doc View Source

Roots

Declaration
public List<string> Roots { get; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Methods

| Improve this Doc View Source

CanRunOnPlatform()

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

ExecuteInternal()

Declaration
public override void ExecuteInternal()
Overrides
BaseCollector.ExecuteInternal()
| Improve this Doc View Source

FilePathToFileSystemObject(String)

Converts a FileSystemInfo into a FileSystemObject by reading in data about the file

Declaration
public FileSystemObject FilePathToFileSystemObject(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
FileSystemObject

Implements

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