GenericExtensionsConvertToUnsecureString Method |
Converts a secure string back to its standard string representation
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static string ConvertToUnsecureString(
this SecureString securePassword
)
<ExtensionAttribute>
Public Shared Function ConvertToUnsecureString (
securePassword As SecureString
) As String
public:
[ExtensionAttribute]
static String^ ConvertToUnsecureString(
SecureString^ securePassword
)
Parameters
- securePassword
- Type: System.SecuritySecureString
The secure string value
Return Value
Type:
StringThe plain-text representation of the secure string
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SecureString. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also