Template:PT3 CSHARP WIN VS: Difference between revisions

From Phidgets Support
(Created page with "<div class="phd-slide-deck" data-deck="PT3_CSHARP_WIN_VS"> <div class="phd-slide-deck-header"><h3>Language - C#</h3></div> <div class="phd-slides"> <div class="phd-slide"> <h2...")
 
No edit summary
 
Line 21: Line 21:
<p>First, make sure you have the following installed:</p>
<p>First, make sure you have the following installed:</p>


<p>● Phidgets Drivers for Windows (see Part 1 of this user guide)</p>
<p>● <span>[https://www.phidgets.com/docs/OS_-_Windows Phidgets Drivers for Windows]</span></p>


<p>● Microsoft Visual Studio</p>
<p>● Microsoft Visual Studio</p>

Latest revision as of 21:18, 17 December 2024

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

● 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:

«
»