ConfigFileHelperConvertToSecureString Method

Converts a string to a secure string.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static SecureString ConvertToSecureString(
	ref string strValue
)

Parameters

strValue  String
Value to secure - this will be empty on return.

Return Value

SecureString
If the string value is , empty, or whitespace, then the return value will have a length of zero.

See Also