Returns the secure string as an array of characters
Syntax
Example
Library/Library.Test/TestSecureString.cs
C# | Copy Code |
---|
foreach (SecureString ss in MakeStrings())
{
Assert.AreEqual(TEST_PASSWORD, new String(SecureStringUtils.ToCharArray(ss)));
} |
VB.NET | Copy Code |
---|
For Each ss As SecureString In MakeStrings()
Assert.AreEqual(TEST_PASSWORD, New [String](SecureStringUtils.ToCharArray(ss)))
Next |
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
See Also