Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
212 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to migrate adu to PPR version 1.0.0-beta.3. Since this involves certain changes in the defined classes, need to know how to create Iot Hub adu ImportManifest file programmatically using c#
Hello @Gupta, Priyanka ,
Have you tried using Azure Device Update for IoT Hub client library for .NET ?
To learn how to import a new update using C#, you can check ImportUpdate sample.
The class ContentFactory.cs guides us on how to create an import manifest file programatically
/// <summary>
/// Creates import manifest file.
/// </summary>
/// <param name="manufacturer">The manufacturer.</param>
/// <param name="name">The name.</param>
/// <param name="version">The version.</param>
/// <param name="fileName">Filename of the file.</param>
/// <param name="fileSize">Size of the file.</param>
/// <param name="fileHash">The file hash.</param>
/// <returns>
/// The new import manifest file.
/// </returns>
public string CreateImportManifestContent(string manufacturer, string name, string version, string fileName, long fileSize, string fileHash)
{
...
Remember: