EncryptionUtility.EncryptText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EncryptText(String, String, String)
public static string EncryptText(string textToEncrypt, string thumbprint, string storeName);
static member EncryptText : string * string * string -> string
Public Shared Function EncryptText (textToEncrypt As String, thumbprint As String, storeName As String) As String
Parameters
- textToEncrypt
- System.String
- thumbprint
- System.String
- storeName
- System.String
Returns
System.String
Applies to
EncryptText(String, String, String, StoreLocation, String)
public static string EncryptText(string textToEncrypt, string thumbprint, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, string algorithmOid);
static member EncryptText : string * string * string * System.Security.Cryptography.X509Certificates.StoreLocation * string -> string
Public Shared Function EncryptText (textToEncrypt As String, thumbprint As String, storeName As String, storeLocation As StoreLocation, algorithmOid As String) As String
Parameters
- textToEncrypt
- System.String
- thumbprint
- System.String
- storeName
- System.String
- storeLocation
- System.Security.Cryptography.X509Certificates.StoreLocation
- algorithmOid
- System.String
Returns
System.String