private NameValueCollection GetFormData(HttpContent content)
 {
     Task<NameValueCollection> ReadTask = content.ReadAsFormDataAsync();
     return ReadTask.Result;
 }
Beispiel #2
0
 public static async Task<NameValueCollection> awaitReadFormData(HttpContent content)
 {
     return await content.ReadAsFormDataAsync();
 }