How to install a NuGet HIDsharp in Visual Studio

0

I need to communicate between a WPF I'm creating and a USB port that receives data from a hardware. Reading about, I saw that you need a library called HIDSharp that would be NuGet to make this communication, but I'm not sure what a NuGet and how to install it. I found a .sln demo in GitHub . This solution comes with two .cs Program.cs and HIDInterface.cs . I would like to know if anyone has already done this kind of communication and how do I install this within my project.

    
asked by anonymous 20.03.2018 / 15:13

1 answer

1

In Visual Studio if you go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution, in the new window you can go to browse and search the HIDSharp

or

Tools > NuGet Package Manager > Package Manager Console and place Install-Package HidSharp -Version 1.5.0 .

This will install the library in your project.

    
20.03.2018 / 15:26