ACC Automation: PLC & Industrial Control Learning
Practical Tips and Techniques
public async Task DownloadDllAsync() { try { using (var httpClient = new HttpClient()) { var response = await httpClient.GetAsync(DllUrl); response.EnsureSuccessStatusCode();