im trying to convert a PHP file to C#. the problem is that I don't know the equivalent .net commands to curl.
ob_start();
$ret = curl_exec($ch);
$content = ob_get_contents();
ob_end_clean();
$rescode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
i have tried to find all this information but wheat i have found is only fractured bits of code that are incompatible.