コード例 #1
0
        internal bool SignFile()
        {
            if (!Validate())
            {
                return(false);
            }

            try
            {
                var privateKey = GetPrivateKey();
                RSAService.Sign(this.FileSignName, privateKey);
            }
            catch (Exception ex)
            {
                return(false);
            }

            return(true);
        }