c# 加密和解密相关代码

上传者: g115bfw | 上传时间: 2019-12-21 19:46:24 | 文件大小: 27KB | 文件类型: 7z
程序把连接字符串保存在硬盘里,每次启动程序的时候可以读取该字符串,用来连接数据库。连接字符串里有用户名和密码等信息,可以加密保存,读取时解密。

文件下载

资源详情

[{"title":"( 35 个子文件 27KB ) c# 加密和解密相关代码","children":[{"title":"Chapter_03","children":[{"title":"Program.cs <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"Cryption.cs <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"Chapter_03.sln <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"ConnectionStringBuilderDialog.Designer.cs <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Chapter_03.QueryDialog.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Chapter_03.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Chapter_03.ResultsForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Chapter_03.Connections.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Chapter_03.ConnectionPoolingForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Chapter_03.Crypt.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"Chapter_03.csproj.GenerateResource.Cache <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Chapter_03.ConnectionStringBuilderDialog.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Chapter_03.pdb <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false},{"title":"Chapter_03.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"Chapter_03.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"Chapter_03.csproj.FileList.txt <span style='color:#111;'> 570B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"constr.ini <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"Chapter_03.vshost.exe.config <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"Chapter_03.exe.config <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"Chapter_03.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"Chapter_03.pdb <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false},{"title":"Chapter_03.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ConnectionStringBuilderDialog.cs <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"Chapter_03.csproj <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"ConnectionStringBuilderDialog.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Chapter_03.suo <span style='color:#111;'> 30.00KB </span>","children":null,"spread":false},{"title":"Crypt.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"Crypt.Designer.cs <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false},{"title":"Crypt.cs <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • weixin_38746387 :
    代码齐全,没有报错,感谢分享,谢谢楼主
    2020-03-25
  • lvk618 :
    对于初学者来说很深奥
    2013-09-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明