DataProtection.DecryptString(String) 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.
Decrypts a specified string.
public:
static System::String ^ DecryptString(System::String ^ s);
public static string DecryptString (string s);
static member DecryptString : string -> string
Public Shared Function DecryptString (s As String) As String
Parameters
- s
- String
A string previously encrypted with a call to EncryptString(String).
Returns
The decrypted string.
Exceptions
The s
parameter is not in a valid format.
The decryption failed.