private bool Is_duplicate(mshtml.HTMLDocument doc) { string mess = Engine.getMessage(); return(doc.ToString().Contains(mess)); }