when using PHP and sending POST requests, I do it like this:
$ch = curl_init(POSTURL);
curl_setopt($ch, CURLOPT_POST ,1);
curl_setopt($ch, CURLOPT_POSTFIELDS , 'whatever');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
$Rec_Data = curl_exec($ch);
Now I want to use CURL in C#. I found "libcurl", but I don't quite know how to do it. I found some code snippets on the internet, but they don't really help.
So how could I translate that PHP code to C#?
Thanks a lot.