Show / Hide Table of Contents

Class FileSystemMonitor

Actively monitors the filesystem for changes.

Inheritance
System.Object
BaseMonitor
FileSystemMonitor
Implements
IPlatformRunnable
System.IDisposable
Inherited Members
BaseMonitor.RunId
BaseMonitor.RunStatus
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 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
System.Action<FileMonitorObject> changeHandler

Fields

| Improve this Doc View Source

defaultFiltersList

Declaration
public static readonly NotifyFilters[] defaultFiltersList
Field Value
Type Description
System.IO.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
System.IO.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
System.IO.RenamedEventArgs objIn
System.IO.NotifyFilters filters

Implements

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