コード例 #1
0
 /// <summary>
 /// Wallet class that reflects the functionality documented at at https://blockchain.info/api/blockchain_wallet_api. It allows users to directly interact with their existing Blockchain.info wallet, send funds, manage addresses etc.
 /// </summary>
 /// <param name="guid">Your wallet guid.</param>
 /// <param name="password">Your wallet password.</param>
 /// <param name="secoundPassword">Secoud password.</param>
 /// <param name="apiCod">API Code.</param>
 public Wallet(string guid, string password, string secoundPassword = null, string apiCod = null)
 {
     _guid            = guid;
     _password        = password;
     _secounfPassword = secoundPassword.Trim().Length > 0 ? secoundPassword : null;
     _apiCode         = apiCod.Trim().Length > 0 ? apiCod : null;
     BCw = new Info.Blockchain.API.Wallet.Wallet(_guid, _password, _secounfPassword, _apiCode);
 }
コード例 #2
0
ファイル: Wallet.cs プロジェクト: btcbrdev/BitcoinLib
 /// <summary>
 /// Wallet class that reflects the functionality documented at at https://blockchain.info/api/blockchain_wallet_api. It allows users to directly interact with their existing Blockchain.info wallet, send funds, manage addresses etc.
 /// </summary>
 /// <param name="guid">Your wallet guid.</param>
 /// <param name="password">Your wallet password.</param>
 /// <param name="secoundPassword">Secoud password.</param>
 /// <param name="apiCod">API Code.</param>
 public Wallet(string guid, string password, string secoundPassword = null, string apiCod = null)
 {
     _guid = guid;
     _password = password;
     _secounfPassword = secoundPassword.Trim().Length > 0 ? secoundPassword : null;
     _apiCode = apiCod.Trim().Length > 0 ? apiCod : null;
     BCw = new Info.Blockchain.API.Wallet.Wallet(_guid, _password, _secounfPassword, _apiCode);
 }