Created
October 13, 2018 15:13
-
-
Save tomwis/9315b7bf54ab260ad0a6de9528fb2d13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (var client = new WebClient()) | |
{ | |
client.DownloadDataCompleted += Client_DownloadDataCompleted; | |
client.DownloadDataAsync(new Uri("https://www.google.pl")); | |
} | |
void Client_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) | |
{ | |
// Tutaj robimy coś z pobranymi danymi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment