public bool VerifyMd5(string md5ToCompare) { System.StringComparer comparer = System.StringComparer.OrdinalIgnoreCase; if (comparer.Compare(ComputeMd5(), md5ToCompare) != 0) { return(false); } return(true); }
} // End Extension Function System.Reflection.MemberInfo[].ToNameArray private static bool Contains(System.Collections.Generic.List <string> ls, string strValueToSearch, System.StringComparer cmp) { foreach (string strThisValue in ls) { if (cmp.Equals(strThisValue, strValueToSearch)) { return(true); } } // Next strThisValue return(false); } // End Extension Function List<string>.Contains
public OptionSet(System.StringComparer comparer) { }
public CMd5Hash() { Md5Hash = new System.Text.StringBuilder(); Comparer = System.StringComparer.OrdinalIgnoreCase; Md5Hasher = System.Security.Cryptography.MD5.Create(); }
public OptionSet(System.Converter <string, string> localizer, System.StringComparer comparer) { }