private DownloadUpdateStatusThread ( object parameter ) : object | ||
parameter | object | |
return | object |
private object DownloadUpdateStatusThread(object parameter)
{
using (System.Net.WebClient webClient = new System.Net.WebClient())
{
byte[] data = webClient.DownloadData(UPDATES_URL);
return Encoding.Default.GetString(data);
}
}