I have a program that you're using htmlagilitypack, which dll's I've added it into the html code of the program, we'll find a form to input.
So explain. Plan to tag form (form) after the detection of the input resulted in him somewhere to put them on the operation took place.
I put the code I ended up doing all the forms and all the cares in the input form, which is mine, and took the game without it's a and there's a I was doing here method.
I come from the input of each form and method which can be determined from the finished work are input form.
HtmlNodeCollection forms = doc.DocumentNode.SelectNodes("//form");
if (forms != null && forms.Count > 0)
FormMethod = forms.GetAttributeValue("method", "POST").ToUpper();
HtmlNodeCollection inputs = doc.DocumentNode.SelectNodes("//input");
foreach (HtmlNode input in inputs)
string TypeName = "";
TypeName = input.Attributes["type"].Value.ToString();
string.Compare(TypeName, "button", true) != 0 &&
string.Compare(TypeName, "image", true) != 0
InputsControls += input.Attributes["name"].Value.ToString() + "\r";