Example #1
0
        public BitcoinServer GetBitcoinServer(uint nIndex)
        {
            IntPtr        cPtr = otapiPINVOKE.WalletData_GetBitcoinServer(swigCPtr, nIndex);
            BitcoinServer ret  = (cPtr == IntPtr.Zero) ? null : new BitcoinServer(cPtr, false);

            return(ret);
        }
Example #2
0
        public new static BitcoinServer ot_dynamic_cast(Storable pObject)
        {
            IntPtr        cPtr = otapiPINVOKE.BitcoinServer_ot_dynamic_cast(Storable.getCPtr(pObject));
            BitcoinServer ret  = (cPtr == IntPtr.Zero) ? null : new BitcoinServer(cPtr, false);

            return(ret);
        }
Example #3
0
        public bool AddBitcoinServer(BitcoinServer disownObject)
        {
            bool ret = otapiPINVOKE.WalletData_AddBitcoinServer(swigCPtr, BitcoinServer.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public bool AddBitcoinServer(BitcoinServer disownObject)
 {
     bool ret = otapiPINVOKE.WalletData_AddBitcoinServer(swigCPtr, BitcoinServer.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #5
0
 internal static HandleRef getCPtr(BitcoinServer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #6
0
 internal static HandleRef getCPtr(BitcoinServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }