Click or drag to resize

SettingsBaseGetEncryptKey Method

Gets the optional private encryption key specified by EncryptSettingAttribute, if any, applied to the specified field or property.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public string GetEncryptKey(
	string name
)
View Source

Parameters

name  String
Field or property name.

Return Value

String
Encryption private key applied to specified field or property; or null if one does not exist.
Exceptions
ExceptionCondition
ArgumentExceptionname cannot be null or empty.
See Also