共用方式為


SecureStringExtensions.ConvertToSecureString(String) Method

Definition

Converts a string into a secure string.

public static System.Security.SecureString ConvertToSecureString (this string value);
static member ConvertToSecureString : string -> System.Security.SecureString
<Extension()>
Public Function ConvertToSecureString (value As String) As SecureString

Parameters

value
String

the string to be converted.

Returns

The secure string converted from the input string

Applies to