Microsoft.Azure.Sphere.DeviceAPI
1.0.2
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Azure.Sphere.DeviceAPI --version 1.0.2
NuGet\Install-Package Microsoft.Azure.Sphere.DeviceAPI -Version 1.0.2
<PackageReference Include="Microsoft.Azure.Sphere.DeviceAPI" Version="1.0.2" />
paket add Microsoft.Azure.Sphere.DeviceAPI --version 1.0.2
#r "nuget: Microsoft.Azure.Sphere.DeviceAPI, 1.0.2"
// Install Microsoft.Azure.Sphere.DeviceAPI as a Cake Addin #addin nuget:?package=Microsoft.Azure.Sphere.DeviceAPI&version=1.0.2 // Install Microsoft.Azure.Sphere.DeviceAPI as a Cake Tool #tool nuget:?package=Microsoft.Azure.Sphere.DeviceAPI&version=1.0.2
Microsoft.Azure.Sphere.DeviceAPI
Microsoft Azure Sphere Device REST APIs enables users to interact with an Azure Sphere device using REST APIs. This is useful during manufacturing operations.
Sample application
using Microsoft.Azure.Sphere.DeviceAPI;
internal class Program
{
private static void Main(string[] args)
{
string result = Devices.GetAttachedDevices();
Console.WriteLine($"Devices result: {result}");
string networks = Wifi.GetAllConfiguredWifiNetworks();
Console.WriteLine($"Wifi networks: {networks}");
}
}
Install via CLI
Ensure you have the .NET Runtime and SDK installed for your platform.
Create a folder to contain your C# project
cd
to your newly created .NET project folderCreate a new .NET console application:
dotnet new console
Install the package from nuget:
dotnet add package Microsoft.Azure.Sphere.DeviceAPI
Install via Visual Studio
Install Visual Studio
Follow the guide to add a nuget package to a Visual Studio project.
API documentation
View the package API documentation on Github.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- System.Management.Automation (>= 7.2.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.