Last active
April 17, 2021 18:47
-
-
Save rahulsahay19/dd79b880b5717873e4c74bd43a315975 to your computer and use it in GitHub Desktop.
LinkedInProfile
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
public class LinkedInProfile | |
{ | |
private readonly HttpClient _httpClient = new HttpClient(); | |
private readonly string _linkedInProfile = "https://www.linkedin.com/in/rahulsahay19/"; | |
public async Task<string> GetProfileUsingAsync() | |
{ | |
return await _httpClient.GetStringAsync(_linkedInProfile); | |
} | |
public Task<string> GetProfileWithoutAsync() | |
{ | |
return _httpClient.GetStringAsync(_linkedInProfile); | |
} | |
} |
Author
rahulsahay19
commented
Apr 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment