public static void DownloadStringAsync(string url, StringDownloader.StringReceivedDelegate stringReceived) { var sd = new StringDownloader(url, stringReceived); sd.Run(); }
public StringDownloader(string url, StringDownloader.StringReceivedDelegate received) { this.url = url; this.received = received; }