コード例 #1
0
ファイル: RSAProtection.cs プロジェクト: jquery2005/GMIS
 internal static string Decrypt(string fileName)
 {
     Gmis.Protection.DataProtection rsaPro=new Gmis.Protection.DataProtection();
     rsaPro.Privatekey=RSAPrivateKey;
     string strData=rsaPro.DecryptFile(fileName);
     return strData;
 }
コード例 #2
0
ファイル: RSAProtection.cs プロジェクト: radtek/GMIS
        internal static string Decrypt(string fileName)
        {
            Gmis.Protection.DataProtection rsaPro = new Gmis.Protection.DataProtection();
            rsaPro.Privatekey = RSAPrivateKey;
            string strData = rsaPro.DecryptFile(fileName);

            return(strData);
        }