public static string DecryptFileAsString(
SymmetricAlgorithm algorithm,
string srcFilepath,
string key
)
Public Shared Function DecryptFileAsString (
algorithm As SymmetricAlgorithm,
srcFilepath As String,
key As String
) As String
Dim algorithm As SymmetricAlgorithm
Dim srcFilepath As String
Dim key As String
Dim returnValue As String
returnValue = UtilEncryption.DecryptFileAsString(algorithm,
srcFilepath, key)
public:
static String^ DecryptFileAsString(
SymmetricAlgorithm^ algorithm,
String^ srcFilepath,
String^ key
)
static member DecryptFileAsString :
algorithm : SymmetricAlgorithm *
srcFilepath : string *
key : string -> string
No code example is currently available or this language may not be supported.
[Missing <returns> documentation for "M:DevCase.Core.Security.Cryptography.Encryption.UtilEncryption.DecryptFileAsString(System.Security.Cryptography.SymmetricAlgorithm,System.String,System.String)"]
No code example is currently available or this language may not be supported.
Dim srcFile As New FileInfo("C:\Encrypted.txt")
Dim key As String = "MyKey"
Dim algorithm As New DESCryptoServiceProvider()
Dim decrypted As String = DecryptFileAsString(algorithm, srcFile.FullName, key)
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 | key |