c# - Extract content data from HttpCllient's FormUrlEncodedContent -


my content is:

var content = new dictionary<string, string> {     {"pickup_date", pickupdate.tostring("dd.mm.yyyy hh:mm")},     {"to_city", "victoria"},     {"delivery_company", "4"},     {"shop_refnum", parameters.reference},     {"dimension_side1", "20"},     {"dimension_side2", "20"},     {"dimension_side3", "20"},     {"weight", "5"} };  var httpcontent = new formurlencodedcontent(content); 

how can extract content httpcontent?

i found readasformdataasync() method in system.net.http.formatting:

namevaluecollection hcdata = await httpcontent.readasformdataasync(cancellationtoken); 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -