Hi,
I do not know if my question is correct but can you guys help me with my code. I pinged(dont know if that's the correct term for that) a website let's say samplewebite.com (just a sample) using the code below. Now what will I insert or what code do I have to insert or what do I have to do to check if that webite received the data i pushed or did I pushed the data with this code? please help.
Thanks in advance.
private void btnLogin_Click(object sender, EventArgs e)
{
string username = this.txtUsername.Text;
string password = this.txtPassword.Text;
using (var client = new WebClient())
{
client.Credentials = new NetworkCredential(username, password);
client.DownloadString("http://samplewebite.us/");
}
this.Dispose();
}