Skip to content

Instantly share code, notes, and snippets.

@rahulsahay19
Last active April 17, 2021 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulsahay19/dd79b880b5717873e4c74bd43a315975 to your computer and use it in GitHub Desktop.
Save rahulsahay19/dd79b880b5717873e4c74bd43a315975 to your computer and use it in GitHub Desktop.
LinkedInProfile
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);
}
}
@rahulsahay19
Copy link
Author

error

@rahulsahay19
Copy link
Author

error2

@rahulsahay19
Copy link
Author

error3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment