SecureString Constructor (Char*, Int32)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This API is not CLS-compliant. The CLS-compliant alternative is SecureString. Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
value is Nothing.
length is less than zero or greater than 65,536.
An error occurred while protecting or unprotecting the value of this secure string.
This operation is not supported on this platform.
This constructor initializes the new SecureString object to the number of characters in value specified by length; the value of the instance is then encrypted.
In C#, this constructor is defined only in the context of unsafe code.
Windows 2000 Platform Note: SecureString is only supported on Windows 2000 Service Pack 3 and later.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.