public static bool IsVerifiableHashCollection(HashCollection hashCollection)
 {
     using (HashCollection.HashEnumerator enumerator = hashCollection.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             if (!IsVerifiableHash(enumerator.Current))
             {
                 return(false);
             }
         }
     }
     return(true);
 }
        private static bool AddSingleFileInHashtable(Hashtable hashtable, HashCollection hashCollection, string location)
        {
            bool flag = false;

            if (System.IO.File.Exists(location))
            {
                using (HashCollection.HashEnumerator enumerator = hashCollection.GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        string compositString = enumerator.Current.CompositString;
                        if (!hashtable.Contains(compositString))
                        {
                            hashtable.Add(compositString, location);
                            flag = true;
                        }
                    }
                }
            }
            return(flag);
        }
 private static bool AddSingleFileInHashtable(Hashtable hashtable, HashCollection hashCollection, string location)
 {
     bool flag = false;
     if (System.IO.File.Exists(location))
     {
         using (HashCollection.HashEnumerator enumerator = hashCollection.GetEnumerator())
         {
             while (enumerator.MoveNext())
             {
                 string compositString = enumerator.Current.CompositString;
                 if (!hashtable.Contains(compositString))
                 {
                     hashtable.Add(compositString, location);
                     flag = true;
                 }
             }
         }
     }
     return flag;
 }
 public static bool IsVerifiableHashCollection(HashCollection hashCollection)
 {
     using (HashCollection.HashEnumerator enumerator = hashCollection.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             if (!IsVerifiableHash(enumerator.Current))
             {
                 return false;
             }
         }
     }
     return true;
 }