LANCommander.Interposer/LANCommander.Interposer.NET/Events/RegistryEventArgs.cs
Pat Hartl 2318fdf611 Add .NET bindings
- Publishes NuGet package with .NET bindings
- Allows direct injection
- Allows for event subscription
- Adds callbacks to main Interposer DLL
2026-05-29 23:31:06 -05:00

29 lines
868 B
C#

using System;
namespace LANCommander.Interposer.Events
{
/// <summary>
/// Data for registry operation events (Open, Create, Query, Set, Delete, Enum).
/// </summary>
public sealed class RegistryEventArgs : EventArgs
{
/// <summary>
/// The operation verb: "REG OPEN", "REG CREATE", "REG READ", "REG WRITE",
/// "REG DELETE", "REG ENUM", "REG ENUMKEY", "REG INFO".
/// </summary>
public string Verb { get; }
/// <summary>The full registry key path.</summary>
public string KeyPath { get; }
/// <summary>The value name, or null.</summary>
public string ValueName { get; }
internal RegistryEventArgs(string verb, string keyPath, string valueName)
{
Verb = verb;
KeyPath = keyPath;
ValueName = valueName;
}
}
}