You can use ReadAsStringAsync()
method, then get the result using await
statement or Result
property:
StringContent sc = new StringContent("Hello!");
string myContent = await sc.ReadAsStringAsync();
//or
string myContent = sc.ReadAsStringAsync().Result;