Show / Hide Table of Contents

Class FileSystemMonitor

Actively monitors the filesystem for changes.

Inheritance
System.Object
BaseMonitor
FileSystemMonitor
Implements
IPlatformRunnable
IDisposable
Inherited Members
BaseMonitor.RunId
BaseMonitor.RunStatus
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class FileSystemMonitor : BaseMonitor, IPlatformRunnable, IDisposable

Constructors

| Improve this Doc View Source

FileSystemMonitor(MonitorCommandOptions, Action<FileMonitorObject>)

Declaration
public FileSystemMonitor(MonitorCommandOptions opts, Action<FileMonitorObject> changeHandler)
Parameters
Type Name Description
MonitorCommandOptions opts
Action<FileMonitorObject> changeHandler

Fields

| Improve this Doc View Source

defaultFiltersList

Declaration
public static readonly NotifyFilters[] defaultFiltersList
Field Value
Type Description
NotifyFilters[]

Methods

| Improve this Doc View Source

CanRunOnPlatform()

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

ChangeTypeToChangeType(WatcherChangeTypes)

Declaration
public static CHANGE_TYPE ChangeTypeToChangeType(WatcherChangeTypes changeType)
Parameters
Type Name Description
WatcherChangeTypes changeType
Returns
Type Description
CHANGE_TYPE
| Improve this Doc View Source

Dispose()

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

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

IsRunning()

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

StartRun()

Declaration
public override void StartRun()
Overrides
BaseMonitor.StartRun()
| Improve this Doc View Source

StopRun()

Declaration
public override void StopRun()
Overrides
BaseMonitor.StopRun()
| Improve this Doc View Source

WriteRename(RenamedEventArgs, NotifyFilters)

Declaration
public void WriteRename(RenamedEventArgs objIn, NotifyFilters filters)
Parameters
Type Name Description
RenamedEventArgs objIn
NotifyFilters filters

Implements

IPlatformRunnable
IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX