コード例 #1
0
 public static async Task <string> TryDecryptFileAsync(this ICipher cipher, string file)
 {
     try
     {
         return(await cipher.DecryptFileAsync(file));
     }
     catch (DecryptionFailedException)
     {
         return(null);
     }
 }