public string GetNotary(string contents) { NotaryRecognizer recognizer = NotaryRecognizer.GetInstance(); List <string> foundNames = recognizer.FindItems(contents); return(foundNames.Count > 0 ? foundNames[0] : ""); }