KFDtool/sw/control/HidLibrary/IHidEnumerator.cs

24 lines
561 B
C#
Raw Permalink Normal View History

2019-07-29 15:24:10 -06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HidLibrary
{
public interface IHidEnumerator
{
bool IsConnected(string devicePath);
IHidDevice GetDevice(string devicePath);
IEnumerable<IHidDevice> Enumerate();
IEnumerable<IHidDevice> Enumerate(string devicePath);
IEnumerable<IHidDevice> Enumerate(int vendorId, params int[] productIds);
IEnumerable<IHidDevice> Enumerate(int vendorId);
}
}