To send a file and form data in single request, content should have multipart/form-data type.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
public async Task<string> UploadFile(string url, string filename,
Diction...