LANCommander.Interposer/LANCommander.Interposer.NET/Events/IdentityEventArgs.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

22 lines
601 B
C#

using System;
namespace LANCommander.Interposer.Events
{
/// <summary>
/// Data for identity query events (GetUserName, GetComputerName).
/// </summary>
public sealed class IdentityEventArgs : EventArgs
{
/// <summary>"USERNAME" or "COMPUTERNAME".</summary>
public string IdentityType { get; }
/// <summary>The value returned to the caller.</summary>
public string Value { get; }
internal IdentityEventArgs(string identityType, string value)
{
IdentityType = identityType;
Value = value;
}
}
}