Exemple #1
0
 public static new ADLER32 Create(string hashName)
 {
     object o = CryptoConfig.CreateFromName (hashName);
     // in case machine.config isn't configured to use any ADLER32 implementation
     if (o == null) {
         o = new ADLER32Native ();
     }
     return (ADLER32) o;
 }
Exemple #2
0
        public static new ADLER32 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

            // in case machine.config isn't configured to use any ADLER32 implementation
            if (o == null)
            {
                o = new ADLER32Native();
            }
            return((ADLER32)o);
        }