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.RunStatus
BaseCollector.Start()
BaseCollector.Stop()
BaseCollector.TryExecute(Nullable<CancellationToken>)
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class FileSystemCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

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

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

Properties

| Improve this Doc View Source

ClusterSizes

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

Roots

Declaration
public List<string> Roots { get; }
Property Value
Type Description
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

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
In This Article
Back to top Generated by DocFX