Ejemplo n.º 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));
        }
Ejemplo n.º 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);
 }