TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Roi Patrick Florentino
NA
1
1.1k
How do I know if the data I pushed or pinged is received?
Mar 27 2014 3:36 PM
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();
}
Reply
Answers (
0
)
How to get live train status of train using c# application ?
C# windows application ,able to check system configuration