System.Security.SecureString.AppendChar Method

Appends a character to the end of the current secure string.

Syntax

[System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions]
public void AppendChar (char c)

Parameters

c
A character to append to this secure string.

Remarks

The value of this secure string, if any, is decrypted; c is appended; then the new value of the secure string is encrypted.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0