I have trying to update some data without asking users on windows application, but when I try to download , app isn't usable and controls aren't touchable.
Code:
using (WebClient client = new WebClient {Encoding = System.Text.Encoding.UTF8})
{
string url = "http://domain_name.com/api/getSomeData";
res = client.DownloadString(url);
}