/// <summary> /// verify and found the first full poath of dll name /// </summary> /// <returns></returns> public bool FindFirstMatch() { var mainService = new MainService(this); var firstData = mainService.FindFirstMatchedData(); if (firstData != null) { ViewModel.ChangeFromValue = firstData.Value; RecordResultLog(string.Format(" --- Registry value '{0}' found!", ViewModel.DllName), false); RecordResultLog(string.Format(" --- First location : '{0}'", firstData.Key), false); RecordResultLog(string.Format(" --- Value of path : '{0}'", firstData.Value), false); } else { ViewModel.ChangeFromValue = string.Empty; RecordResultLog(string.Format(" --- Registry value '{0}' is NOT found!", ViewModel.DllName), false); } return true; }