MiController/MiController/Win32/DeviceEventArgs.cs
2022-02-26 15:16:10 +00:00

19 lines
459 B
C#

using System;
using HidLibrary;
namespace MiController.Win32
{
public class DeviceEventArgs : EventArgs
{
internal DeviceEventArgs(HidDevices.DeviceInfo info)
{
Path = info.Path;
Description = info.Description;
InstanceId = info.InstanceID;
}
public string Path { get; set; }
public string Description { get; set; }
public string InstanceId { get; set; }
}
}