このコードを使用して api_user_key を取得しようとすると、api_dev_key、api_user_login、および api_user_password が置き換えられますが、それが正しいかどうかはわかりません。
WebRequest req = WebRequest.Create("http://pastebin.com/api/api_login.php");
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
byte[] Bytes = System.Text.Encoding.UTF8.GetBytes("api_dev_key=12345678901234567890012345678901&api_user_login=lll&api_user_password=lll");
req.ContentLength = Bytes.Length;
Stream os = req.GetRequestStream();
os.Write(Bytes, 0, Bytes.Length);
os.Close();
WebResponse resq = req.GetResponse();
StreamReader ss = new StreamReader(resq.GetResponseStream());
return ss.ReadToEnd();