Hai every one,
I am developing an application where users can subscribe or unsubscribe to a group of mailing list using .net.I am using webclient class as below
NameValueCollection formData = new NameValueCollection();
formData.Add("email", txt_emailid.Text);
WebClient webClient = new WebClient();
byte[] responseBytes = webClient.UploadValues(url, "POST", formData);
string response = Encoding.UTF8.GetString(responseBytes);
where the response contains one more button(unsubscribe).what i have to do is to simulate the (unsubscribe)button click programmaticaly from my .net application.Is there any way to do this?
Thanks& Regards
Chaithu
It depends on what this button is doing. If it sends an HTTP request you could once again use WebClient to simulate it by sending all the necessary parameters.