Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         //Release managed resources and call Dispose for member variables
     }
     //Release unmanaged resources
     if (ownsNativeObject_)
     {
         PaymentAddressNative.kth_wallet_payment_address_destruct(nativeInstance_);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Create an address from its hex string representation.
 /// </summary>
 /// <param name="hexString"></param>
 public PaymentAddress(string hexString)
 {
     nativeInstance_   = PaymentAddressNative.kth_wallet_payment_address_construct_from_string(hexString);
     ownsNativeObject_ = true;
 }