JHSectionEncrypt Class

DCSoft.DBUtilityGeneric

JHSectionEncrypt Class
加密、解密配置文件,该类为密封类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.ConfigurationJHSectionEncrypt

Namespace: DCSoft.Utility.Configuration
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHSectionEncrypt

The JHSectionEncrypt type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberProtectExeSection
针对 EXE 程序下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public methodStatic memberProtectSection
标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public methodStatic memberProtectWebSection
针对 Web 站点根目录下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public methodToString (Inherited from Object.)
Public methodStatic memberUnProtectExeSection
针对 EXE 程序下的配置文件,从关联的配置节中移除受保护的配置加密
Public methodStatic memberUnProtectSection
从关联的配置节中移除受保护的配置加密
Public methodStatic memberUnProtectWebSection
针对 Web 站点根目录下的配置文件,从关联的配置节中移除受保护的配置加密
Top
See Also