1. 把浏览器中的证书导出为cer文件. 2. 代码如下: using System; using System.Net; using System.IO; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Net.Security; public partial class About : System.Web.UI.Page { protected void Page
生成证书 # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of the ax