Example #1
0
        public static async Task <Wallet> OpenWallet(string wallet, string key)
        {
            string config = WalletUtils.GetCreateWalletConfig(wallet);
            string cred   = WalletUtils.GetOpenWalletCredentials(key);

            return(await Wallet.OpenWalletAsync(config, cred));
        }
Example #2
0
 public static async Task DeleteWallet(string walletName, string key)
 {
     string config = WalletUtils.GetCreateWalletConfig(walletName);
     string cred   = WalletUtils.GetOpenWalletCredentials(key);
     await Wallet.DeleteWalletAsync(config, cred);
 }