CertSrvRegManagerSetConfigEntry Method

Writes value to Certification Authority configuration. If value does not exist it will be created. Created registry value type is inferred from data parameter.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public void SetConfigEntry(
	Object data,
	string entryName,
	string node = null
)

Parameters

data  Object
Configuration value name to write.
entryName  String
Configuration value name to write to.
node  String  (Optional)
Configuration node path under Configuration node. Optional.

Implements

ICertRegManagerDSetConfigEntry(Object, String, String)

Remarks

Valid types for data parameter are:
  • String
  • String[]
  • Int32
  • Boolean
  • Byte[]

Exceptions

ArgumentNullExceptiondata or entryName parameter is null.
ArgumentExceptionentryName parameter is empty string, or data type for data parameter is not accepted. See remarks section for valid types.

See Also