I want to post data to a website by using cs query lib. My purpose is parsing viewstate value
and post
with my string. I can parse viewstate value correctly but when I post data it returns null value.
public string Post(string URL, NameValueCollection data)
{
string Result = "";
int limit = 0;
do
{
try
{
Result = Encoding.UTF8.GetString(this.UploadValues(URL, data));
break;
}
This is how I post data to a website. If I send wrong viewstate value it returns me your session timeout. However if I send everything correctly it returns me nothing. Can you tell me what is wrong with my code?