private void StartContactSearch(string email, string first, string last, string screen, int distance) { if (ValidateFields(email, first, last) == true) { LOLConnectSearchCriteria criteria = new LOLConnectSearchCriteria(); criteria.EmailAddress = string.IsNullOrEmpty(email) ? string.Empty : email; criteria.FirstName = string.IsNullOrEmpty(first) ? string.Empty : first; criteria.LastName = string.IsNullOrEmpty(last) ? string.Empty : last; criteria.UserName = string.IsNullOrEmpty(screen) ? string.Empty : screen; LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint); service.ContactsSearchCompleted += Service_ContactsSearchCompleted; service.ContactsSearchAsync(criteria, AndroidData.CurrentUser.AccountID, new Guid(AndroidData.ServiceAuthToken)); } }