I did some searching online and ended up with a nice little method to Post form content to a site by sending the correct headers in your Navigate call.
Code:
private void Post(string szUrl, string szPost)
{
Encoding a = Encoding.UTF8;
byte[] byte1 = a.GetBytes(szPost);
webBrowser.Navigate(szUrl, szTarget, byte1,
"Content-Type: application/x-www-form-urlencoded\r\n");
return;
}
{
Encoding a = Encoding.UTF8;
byte[] byte1 = a.GetBytes(szPost);
webBrowser.Navigate(szUrl, szTarget, byte1,
"Content-Type: application/x-www-form-urlencoded\r\n");
return;
}
1 comment:
You made some decent factors there. I seemed on the internet for the issue and located most people will go together with together with your website. casino play
Post a Comment