I need to convert my Dictionary<string,string>
into a php array key like the following:
$result['iv'] = iv;
$result['json'] = pJSON;
$result['header'] = header;
I then need to post it to a target server which is using php.
How would I do this?
I need to convert my Dictionary<string,string>
into a php array key like the following:
$result['iv'] = iv;
$result['json'] = pJSON;
$result['header'] = header;
I then need to post it to a target server which is using php.
How would I do this?
Why not convert it into a more universally recognised format?
I suggest JSON using C# (see C# list of JSON libraries near the bottom of the page) and then in PHP you can use:
$result = json_decode($_POST['result'], true);