I really hope someone might help me having a query that's been baffling me for age range.

Can you really send data from the C# application to some web site while opening the browser e.g. should you have had a login form on the internet and desired to publish a password to that particular form out of your C# application.

I see something similar to open browser towards the forms page and publish the login particulars to that particular page in the program then your page can process the shape immediately thus logging them on and delivering these to the home page. Is possible?

Thanks ahead of time



You are able to communicate to webpages or web servers (or web services) using HttpWebRequest. This is actually the actual code I personally use to obtain data from the facebook url:

internal static string FbFetch(string url)
    var request = (HttpWebRequest)WebRequest.Create(url);
    request.Method = "GET";
    using (var response = (HttpWebResponse)request.GetResponse())
        using (var reader = new StreamReader(response.GetResponseStream()))
            var responseText = reader.ReadToEnd();
            return responseText;

But, that which you describe is known as "HTML screen scraping" and it's really a tiresome and brittle method for building applications. Tiresome since it is tough to wallow through all of the UI chocolate, and brittle if the page designer changes his page, your screen-scraping will no more work.

best of luck.