The Mbed Cloud SDK gives developers access to the full Mbed suite using .NET Core 2.0.
If you want to contribute to creating a SDK for another language the work is greatly appreciated and you can read more about the process here.
- Download the .NET Core SDK from here. There are installers for Windows, Linux and Mac.
- Create a new console application
dotnet new console -o myApp
- Install the MbedCloudSDK in your project
dotnet add package Mbed.Cloud.SDK
- To use the SDK you'll need an Api Key, which you can get from the Mbed Cloud Portal.
The following sample lists the first five devices in your Device Directory.
static void Main(string args)
var config = new Config(apiKey: "<your api key>", autostartNotifications: true);
var connect = new ConnectApi(config);
var connectedDevices = connect.ListConnectedDevices().Data;
var val = connectedDevices.FirstOrDefault()
?.FirstOrDefault(d => d.Path == "/3201/0/5853")
Further examples can be found in the Examples folder of the GitHub repository.
Mbed Cloud SDK for .NET is open source and we would like your help; there is a brief guide on how to get started in CONTRIBUTING.
Mbed Cloud SDK for .NET is free-to-use and licensed under the Apache License 2.0. Please See LICENSE file for more information.