示例#1
0
        internal MD5Wrapper()
        {
#if RT
            this.hash = HashAlgorithmProvider.OpenAlgorithm("MD5").CreateHash();
#elif DNCP
            if (this.version1MD5)
            {
                this.hash = MD5.Create();
            }
            else
            {
                this.nativeMD5Hash = NativeMD5.Create();
            }
#endif
        }
示例#2
0
        internal MD5Wrapper()
        {
#if RT
            this.hash = HashAlgorithmProvider.OpenAlgorithm("MD5").CreateHash();
#elif DNCP && !XAMIOS
            if (this.version1MD5)
            {
                this.hash = MD5.Create();
            }
            else
            {
                this.nativeMD5Hash = NativeMD5.Create();
            }
#elif XAMIOS
            this.hash = new MD5CryptoServiceProvider();
#endif
        }