The Microsoft Azure IoT device SDK for .NET facilitates building devices and applications that connect to and are managed by Azure IoT Hub services.
The library is available as a NuGet package for you include in your own development projects. This repository contains documentation and samples to help you get started using this SDK.
- Sends event data to Azure IoT based services.
- Maps server commands to device functions.
- Batches messages to improve communication efficiency.
- Supports pluggable transport protocols.
Note the library Microsoft.Azure.Devices.Client supports both HTTPS and AMQP protocols. The Microsoft.Azure.Devices.Client.WinRT library currently supports HTTPS at this time.
For more information on how to use this library refer to the documents below:
- Preparing your Windows development environment
- Running the C# samples on Windows
- Running the C# samples on Windows IoT Core
Other useful documents include:
- Setup IoT Hub
- How to use Device Explorer
- Microsoft Azure IoT device SDK FAQ
- Microsoft Azure IoT device SDK for .NET API reference
All the .NET device specific resources are located in the csharp folder.
This folder contains build scripts for the .NET client libraries and samples.
This folder contains setup and getting started documents for .NET.
These folders contain the .NET client library source code.
The Microsoft.Azure.Devices.Client.WinRT project is for building the UWP (Universal Windows Platform) version of the client library. For more information about the UWP version of this library refer to the FAQ.
These projects are useful if you want to modify or extend the .NET libraries.
This folder contains scripts for building the NuGet package that contains the library components.
This folder contains various .NET samples that illustrate how to use the client library.
This Visual Studio solution contains the client library and sample projects.
API reference documentation can be found online at https://msdn.microsoft.com/library/microsoft.azure.devices.aspx.