コード例 #1
0
 static AzHttpClient()
 {
     httpClient             = new HttpClient();
     httpClient.BaseAddress = new Uri(graphUrl);
     httpClient.DefaultRequestHeaders.Clear();
     httpClient.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("bearer", ApiUser.GetAADToken());
 }