Template:PT3 CSHARP WIN VS
Contents
Language - C#
Windows with Visual Studio
Welcome to using Phidgets with C#! By using C#, you will have access to the complete Phidget22 API, including events.
Visual Studio is an IDE provided by Microsoft that can be used to develop code in a wide variety of programming languages, including C#.
Requirements
First, make sure you have the following installed:
● Phidgets Drivers for Windows (see Part 1 of this user guide)
● Microsoft Visual Studio
Nuget
The Phidget22.NET library is now available on nuget.org here. Nuget is the recommended way to install and use the .NET library in Visual Studio. The nuget package bundles the C library on Windows, so there are no other prerequisites that need to be installed. The nuget package adds targets for .NET Core and .NET Standard, so it should be usable from almost any .NET environment which also supports the C library.
Using Phidgets in Your Programs
There are two ways you can use Phidgets in Visual Studio. You can either start from a sample project provided by our code sample generator, or you can start a new project from scratch.
Select your preferred method below for instructions: