I have a UWP application and I am not sure how to go about saving an image from the http response to a folder in the project. Thanks
var httpClient = new HttpClient();
HttpRequestMessage httpRequest;
httpRequest = new HttpRequestMessage(HttpMethod.Get, "url" + id + "/photo/$value");
httpRequest.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", token);
var response = await httpClient.SendAsync(httpRequest);
if (response.IsSuccessStatusCode)
{
//download images to photos and save
}
}