[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static SecureString ToSecureString(
this string sender,
bool readOnly = true
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ToSecureString (
sender As String,
Optional readOnly As Boolean = true
) As SecureString
Dim sender As String
Dim readOnly As Boolean
Dim returnValue As SecureString
returnValue = sender.ToSecureString(readOnly)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static SecureString^ ToSecureString(
String^ sender,
bool readOnly = true
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ToSecureString :
sender : string *
?readOnly : bool
(* Defaults:
let _readOnly = defaultArg readOnly true
*)
-> SecureString
No code example is currently available or this language may not be supported.
[Missing <param name="readOnly"/> documentation for "M:DevCase.Extensions.StringExtensions.StringExtensions.ToSecureString(System.String,System.Boolean)"]
No code example is currently available or this language may not be supported.
Dim secstr As SecureString = "PASSWORD".ToSecureString()
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.
ArgumentNullException | value |