using System;
namespace LANCommander.Interposer.Events
{
///
/// Data for file operation events (CreateFile, GetFileAttributes, FindFirstFile,
/// Delete, Move, Copy, LoadLibrary).
///
public sealed class FileEventArgs : EventArgs
{
///
/// The operation verb: "FILE READ", "FILE WRITE", "FILE R/W", "FILE ATTR",
/// "FILE REDIRECT", "FILE OVERLAY", "FILE DELETE", "FILE MOVE", "FILE COPY",
/// "FILE FIND", "DLL LOAD".
///
public string Verb { get; }
/// The primary file path.
public string Path { get; }
/// The redirect target, destination path, or null.
public string SecondaryPath { get; }
internal FileEventArgs(string verb, string path, string secondaryPath)
{
Verb = verb;
Path = path;
SecondaryPath = secondaryPath;
}
}
}