Skip to content

Instantly share code, notes, and snippets.

@ztirom
Created April 22, 2016 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/9bc18fcf2542795058df03d2ab1150f7 to your computer and use it in GitHub Desktop.
Save ztirom/9bc18fcf2542795058df03d2ab1150f7 to your computer and use it in GitHub Desktop.
FirstStepsWithAzureIoTHub
public async static Task<IEnumerable> GetDevicesAsync(int deviceCount = 8) {
regManager = RegistryManager.CreateFromConnectionString(IOTHUBSTRING);
return await regManager.GetDevicesAsync(deviceCount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment