string username = "myusername"; string password = "pwd"; string loginOp="log"; string client="pref"; // format our data that we are going to post to the server // this will include our post parameters. string postData = string.Format("loginOp={0}&username={1}&password={2}&client={3}",loginOp,username,password,client); ASCIIEncoding enc = new ASCIIEncoding(); // we are encoding the postData to a byte array webBrowser1.Navigate("https://MainWebsite/y/search?mesg=hell0&initial=false&app=", "", enc.GetBytes(postData), "Content-Type: application/x-www-form-urlencoded");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)