/// <summary>
        ///
        /// </summary>
        /// <returns>
        /// </returns>
        public ISearchResult FindOne()
        {
            var searchResult = this.directorySearcher.FindOne();

            if (searchResult != null)
            {
                var searchResultWrap = new SearchResultWrap(searchResult);
                return(searchResultWrap);
            }
            return(null);
        }
 /// <summary>
 /// 
 /// </summary>
 /// <returns>
 /// </returns>
 public ISearchResult FindOne()
 {
     var searchResult = this.directorySearcher.FindOne();
     if (searchResult != null)
     {
         var searchResultWrap = new SearchResultWrap(searchResult);
         return searchResultWrap;
     }
     return null;
 }