1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Security.SecureString</name>
7 <member name="T:System.Security.SecureString">
8 <summary>Represents text that should be kept confidential, such as by deleting it from computer memory when no longer needed. This class cannot be inherited.</summary>
10 <member name="M:System.Security.SecureString.#ctor">
11 <summary>Initializes a new instance of the <see cref="T:System.Security.SecureString"></see> class.</summary>
12 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this instance.</exception>
13 <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
15 <member name="M:System.Security.SecureString.#ctor(System.Char*,System.Int32)">
16 <summary>Initializes a new instance of the <see cref="T:System.Security.SecureString"></see> class from a subarray of <see cref="T:System.Char"></see> objects. This constructor is not CLS-compliant. The CLS-compliant alternative is <see cref="M:System.Security.SecureString.#ctor"></see>.</summary>
17 <param name="value">A pointer to an array of <see cref="T:System.Char"></see> objects.</param>
18 <param name="length">The number of elements of value to include in the new instance.</param>
19 <exception cref="T:System.ArgumentNullException"><paramref name="value">value</paramref> is null.</exception>
20 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length">length</paramref> is less than zero or greater than 65,536.</exception>
21 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
22 <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
24 <member name="M:System.Security.SecureString.AppendChar(System.Char)">
25 <summary>Appends a character to the end of the current secure string.</summary>
26 <param name="c">A character to append to this secure string.</param>
27 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
28 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
29 <exception cref="T:System.ArgumentOutOfRangeException">Performing this operation would make the length of this secure string greater than 65,536 characters.</exception>
30 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
32 <member name="M:System.Security.SecureString.Clear">
33 <summary>Deletes the value of the current secure string.</summary>
34 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
35 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
37 <member name="M:System.Security.SecureString.Copy">
38 <summary>Creates a copy of the current secure string.</summary>
39 <returns>A duplicate of this secure string.</returns>
40 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
41 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
43 <member name="M:System.Security.SecureString.Dispose">
44 <summary>Releases all resources used by the current <see cref="T:System.Security.SecureString"></see> object.</summary>
46 <member name="M:System.Security.SecureString.InsertAt(System.Int32,System.Char)">
47 <summary>Inserts a character in this secure string at the specified index position.</summary>
48 <param name="index">The index position where parameter c is inserted.</param>
49 <param name="c">The character to insert.</param>
50 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
51 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
52 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> is less than zero, or greater than the length of this secure string. -or- Performing this operation would make the length of this secure string greater than 65,536 characters.</exception>
53 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
55 <member name="M:System.Security.SecureString.IsReadOnly">
56 <summary>Indicates whether this secure string is marked read-only.</summary>
57 <returns>true if this secure string is marked read-only; otherwise, false.</returns>
58 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
60 <member name="P:System.Security.SecureString.Length">
61 <summary>Gets the number of characters in the current secure string.</summary>
62 <returns>The number of <see cref="T:System.Char"></see> objects in this secure string.</returns>
63 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
65 <member name="M:System.Security.SecureString.MakeReadOnly">
66 <summary>Makes the text value of this secure string read-only.</summary>
67 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
69 <member name="M:System.Security.SecureString.RemoveAt(System.Int32)">
70 <summary>Removes the character at the specified index position from this secure string.</summary>
71 <param name="index">The index position of a character in this secure string.</param>
72 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
73 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
74 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> is less than zero, or greater than or equal to the length of this secure string.</exception>
75 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
77 <member name="M:System.Security.SecureString.SetAt(System.Int32,System.Char)">
78 <summary>Replaces the existing character at the specified index position with another character.</summary>
79 <param name="index">The index position of an existing character in this secure string</param>
80 <param name="c">A character that replaces the existing character.</param>
81 <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
82 <exception cref="T:System.InvalidOperationException">This secure string is read-only.</exception>
83 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> is less than zero, or greater than or equal to the length of this secure string.</exception>
84 <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
86 <member name="T:System.Security.SecureStringMarshal">
89 <member name="M:System.Security.SecureStringMarshal.SecureStringToCoTaskMemAnsi(System.Security.SecureString)">
90 <param name="s"></param>
93 <member name="M:System.Security.SecureStringMarshal.SecureStringToCoTaskMemUnicode(System.Security.SecureString)">
94 <param name="s"></param>
97 <member name="M:System.Security.SecureStringMarshal.SecureStringToGlobalAllocAnsi(System.Security.SecureString)">
98 <param name="s"></param>
101 <member name="M:System.Security.SecureStringMarshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)">
102 <param name="s"></param>