JHSectionEncrypt Class
类库说明文档
| JHSectionEncrypt Class |
加密、解密配置文件,该类为密封类
Namespace: DCSoft.Utility.Configuration
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
C#
public sealed class JHSectionEncrypt
The JHSectionEncrypt type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| ProtectExeSection |
针对 EXE 程序下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
| |
| ProtectSection |
标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
| |
| ProtectWebSection |
针对 Web 站点根目录下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
| |
| ToString | (Inherited from Object.) | |
| UnProtectExeSection |
针对 EXE 程序下的配置文件,从关联的配置节中移除受保护的配置加密
| |
| UnProtectSection |
从关联的配置节中移除受保护的配置加密
| |
| UnProtectWebSection |
针对 Web 站点根目录下的配置文件,从关联的配置节中移除受保护的配置加密
|