I am trying to handle the null value in the directory search
try{ // some code here SearchResult searchResult=directorySearcher.FindO