JHSectionEncrypt Methods

DCSoft.DBUtilityGeneric

JHSectionEncrypt Methods

The JHSectionEncrypt type exposes the following members.

Methods
  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member ProtectExeSection
针对 EXE 程序下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public method Static member ProtectSection
标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public method Static member ProtectWebSection
针对 Web 站点根目录下的配置文件,标记配置节,并进行保护(.Net 程序会自行解密),异常将直接抛出
Public method ToString (Inherited from Object.)
Public method Static member UnProtectExeSection
针对 EXE 程序下的配置文件,从关联的配置节中移除受保护的配置加密
Public method Static member UnProtectSection
从关联的配置节中移除受保护的配置加密
Public method Static member UnProtectWebSection
针对 Web 站点根目录下的配置文件,从关联的配置节中移除受保护的配置加密
Top
See Also