Class FileSystemCollector
Collects Filesystem Data from the local file system.
Implements
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 class FileSystemCollector : BaseCollector, IPlatformRunnable
Constructors
| Improve this Doc View SourceFileSystemCollector(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 SourceClusterSizes
Declaration
public static ConcurrentDictionary<string, uint> ClusterSizes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Concurrent.ConcurrentDictionary<System.String, System.UInt32> |
Roots
Declaration
public List<string> Roots { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
Methods
| Improve this Doc View SourceCanRunOnPlatform()
Declaration
public override bool CanRunOnPlatform()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceExecuteInternal()
Declaration
public override void ExecuteInternal()
Overrides
| Improve this Doc View SourceFilePathToFileSystemObject(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 |