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
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 adds targets for .NET Core and .NET Standard, so it should be usable from almost any .NET environment which also supports the C library. See the New Project section on the next slide for step-by-step instructions for adding the nuget package.
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: