mirror of
https://github.com/LANCommander/LANCommander.Interposer.git
synced 2026-08-01 03:08:17 -04:00
- Publishes NuGet package with .NET bindings - Allows direct injection - Allows for event subscription - Adds callbacks to main Interposer DLL
29 lines
868 B
C#
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;
|
|
}
|
|
}
|
|
}
|