.Net Standart 2.0 library for diawi's API
Install-Package diawi.api -Version 1.1.0
Simply replace the diawi 'token' variable with your token string and replace the 'file' variable with the full path of your application.
using DiawiApi;
using DiawiApi.Models;
var fileStream = new FileStream(file, FileMode.Open);
var result = await api.Upload(token, new StreamPart(stream, stream.Name, ""));
var status = await api.GetStatus(token, result.JobKey);