SecureStringExtensionsToManagedString Method
Converts the source SecureString to a managed String.
Namespace: DevCase.Extensions.SecureStringExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static string ToManagedString(
this SecureString secureString
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ToManagedString (
secureString As SecureString
) As String
Dim secureString As SecureString
Dim returnValue As String
returnValue = secureString.ToManagedString()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static String^ ToManagedString(
SecureString^ secureString
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ToManagedString :
secureString : SecureString -> string
No code example is currently available or this language may not be supported.
- secureString SecureString
-
The source SecureString.
String
The resulting
String.
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).
This is a code example.
No code example is currently available or this language may not be supported.
Dim secStr As New SecureString()
With secStr
.AppendChar("q"c)
.AppendChar("w"c)
.AppendChar("e"c)
.AppendChar("r"c)
.AppendChar("t"c)
.AppendChar("y"c)
End With
MessageBox.Show(secStr.ToManagedString())
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.