using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Forms;
public static void Main()
var html = @"<TD class=texte width=""50%"">
<DIV align=right>Name :<B> </B></DIV></TD>
<INPUT class=box value=John maxLength=16 size=16 name=user_name>
var htmlDoc = new HtmlDocument();
string name = htmlDoc.DocumentNode
.SelectNodes("//td/input")
.Attributes["value"].Value;