2016-12-21 44 views

回答

0

是的,因为您正在使用Asp.net应用程序,您可以使用AppSettings部分的web.config文件保存密钥。

例如

<appSettings> 
    <add key="Key" value="dcsdUBYBYB66767"/> 
</appSettings> 

,同时加密/解密

string key = System.Configuration.ConfigurationManager.AppSettings["Key"]; 
相关问题