Merhaba,

Bir web api aracılığı ile windows formdan web'e dosya upload işlemi yapıyorum fakat dosya upload edilirken kullanıcıya progress bar göstermek istiyorum (prnt.sc tarzı kullananlar bilir) bu progress bar upload işlemi bittiği anda kaybolacak, kod bloğum aşağıda yardımlarınız için şimdiden teşekkürler
private static async Task UploadFileAsync(string path)
{
HttpClient client = new HttpClient();
var multiForm = new MultipartFormDataContent();

// add file and directly upload it
FileStream fs = File.OpenRead(path);
multiForm.Add(new StreamContent(fs), "id", Path.GetFileName(path));
string url = "http://localhost:50034/api/FileApi/UploadFile";
HttpResponseMessage response = await client.PostAsync(url, multiForm);

if (response.IsSuccessStatusCode)
{
MessageBox.Show(response.Content.ReadAsAsync<string>().Result);
}
else
{
MessageBox.Show(response.ToString());
}

        }