defaultrequestheaders.authorization basic auth

55

defaultrequestheaders.authorization basic auth -

// For basic auth use the following:
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", "encrypted user/pwd");

Comments

Submit
0 Comments