Export (0) Print
Expand All

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.

Public method SecureString Overloaded. Initializes a new instance of the SecureString class.

Public method AppendChar Appends a character to the end of the current secure string.
Public method Clear Deletes the value of the current secure string.
Public method Copy Creates a copy of the current secure string.
Public method Dispose Releases all resources used by the current SecureString object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InsertAt Inserts a character in this secure string at the specified index position.
Public method IsReadOnly Indicates whether this secure string is marked read-only.
Public method MakeReadOnly Makes the text value of this secure string read-only.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveAt Removes the character at the specified index position from this secure string.
Public method SetAt Replaces the existing character at the specified index position with another character.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Length Gets the number of characters in the current secure string.

Community Additions

© 2015 Microsoft