Пример #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;
 }
Пример #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);
        }