.NET Framework Class Library
SecureString Members

Represents text that should be kept confidential. The text is encrypted for privacy when being used, and deleted from computer memory when no longer needed. This class cannot be inherited.

The SecureString type exposes the following members.

Constructors

  NameDescription
Public methodSecureStringOverloaded. Initializes a new instance of the SecureString class.
Top
Methods

  NameDescription
Public methodAppendCharAppends a character to the end of the current secure string.
Public methodClearDeletes the value of the current secure string.
Public methodCopyCreates a copy of the current secure string.
Public methodDisposeReleases all resources used by the current SecureString object.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeOverloaded.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInsertAtInserts a character in this secure string at the specified index position.
Public methodIsReadOnlyIndicates whether this secure string is marked read-only.
Public methodMakeReadOnlyMakes the text value of this secure string read-only.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveAtRemoves the character at the specified index position from this secure string.
Public methodSetAtReplaces the existing character at the specified index position with another character.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyLengthGets the length of the current secure string.
Top
See Also

Reference

Tags :


Page view tracker