Created
February 5, 2019 13:09
-
-
Save aliostad/e2932cdc491f22756548fa9de7c4bd4e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var url = "https://www.ilna.ir/fa/tiny/news-724227"; | |
var client = new HttpClient(); | |
var result = client.GetAsync(url).Result; | |
Console.WriteLine(result.StatusCode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment