Friday, July 31, 2009

Is there a way for C# programs to get data off a website?

I am using Microsoft Visual C# and trying to get user data off of a PHP webpage (you would have to enter login and password in C# program).

Is there a way for C# programs to get data off a website?
Read this:





Using WebRequest and WebResponse


http://www.c-sharpcorner.com/UploadFile/...





Assuming the form expects a POST response, you would simply need to prepopulate your WebRequest header with the login data as it would be from the login page.
Reply:try creating a path variable and manipulating it

daylily

No comments:

Post a Comment