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
22 lines
601 B
C#
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;
|
|
}
|
|
}
|
|
}
|