I need to create a C# function to login into a site and get the url links on the site.
The problem is the site uses javascript to resubmit the login information after login which stops me from using the C# webcleint.
I need someone with more experiance than myself with creating this function if it can be done.
I need this imediately.
I just need the function to login and return the href links on the resulting page in an array of strings.
example
string [] links;
links = getLinks(url, user, pass);
getLinks(string url, string username, string password)
{
string [] theLinks;
code to login and get links
return theLinks
}
I am ok if there is a dll or class needed to be added to get this workign but I will need all code and files needed to compile this into my soltuion.
I need ownership/ rights to be able to redistribute the soltuion as well in comerical products.