My code is below:
URL = "https://abcde.com/api//export/1234.wav?type=wav";
HttpResponseMessage response = client.GetAsync(URL).Result;
It's showing "StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent"
The StreamContent
is a wav file, and file name is 1234.wav
.
How can I download the wav file from the HttpResponseMessage Steam Content response
in C#?
Thanks a lot.