JHSectionEncrypt.UnProtectExeSection Method

DCSoft.DBUtilityGeneric

JHSectionEncryptUnProtectExeSection Method
针对 EXE 程序下的配置文件,从关联的配置节中移除受保护的配置加密

Namespace: DCSoft.Utility.Configuration
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static bool UnProtectExeSection(
	string sectionName
)

Parameters

sectionName
Type: SystemString
配置节的名称或路径

Return Value

Type: Boolean
返回一个值,该值指示是否成功取消当前节的保护
Exceptions
ExceptionCondition
ArgumentNullExceptionsectionName is null.
See Also