I am using this code to retrieve an url content:
private ArrayList request(string query) { ArrayList parsed_output = new ArrayList(); string url = s
With Dot.Net 4.5:
public static async void GetDataAsync() { DoSomthing(await new WebClient().DownloadStringTaskAsync(MyURI)); }