WebClient client0 = new WebClient();
string html0 = client0.DownloadString("url");
HtmlAgilityPack.HtmlDocument dokuman0 = new HtmlAgilityPack.HtmlDocument(); dokuman0.LoadHtml(html0);
string kontrol = dokuman0.DocumentNode.SelectNodes("xpath")[0].InnerText;
if(kontrol == "1")
{
}
if(kontrol == "0")
{
}bu şekilde if else ile işlem yaptırabilirsin