/// <summary>
            /// Searches metadata in image
            /// </summary>
            public static void SearchMetadata(string filePath, string propertyName, SearchCondition searchCondition)
            {
                try
                {
                    //ExStart:ImageSearchAPI
                    filePath = Common.MapSourceFilePath(filePath);

                    // looking the software
                    ExifProperty[] properties = SearchFacade.ScanExif(filePath, propertyName, searchCondition);

                    foreach (ExifProperty property in properties)
                    {
                        Console.WriteLine("{0} : {1}", property.Name, property.ToString());
                    }
                    //ExEnd:ImageSearchAPI
                }
                catch (Exception exp)
                {
                    Console.WriteLine("Exception occurred: " + exp.Message);
                }
            }