getCPtr() static private méthode

static private getCPtr ( OTPassword obj ) : HandleRef
obj OTPassword
Résultat HandleRef
 public OTPassword(OTPassword rhs) : this(otapiPINVOKE.new_OTPassword__SWIG_2(OTPassword.getCPtr(rhs)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public bool GetPassword(OTPassword theOutput)
        {
            bool ret = otapiPINVOKE.OTCaller_GetPassword(swigCPtr, OTPassword.getCPtr(theOutput));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool Compare(OTPassword rhs)
        {
            bool ret = otapiPINVOKE.OTPassword_Compare(swigCPtr, OTPassword.getCPtr(rhs));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public virtual void runTwo(string szDisplay, OTPassword theOutput)
 {
     if (SwigDerivedClassHasMethod("runTwo", swigMethodTypes1))
     {
         otapiPINVOKE.OTCallback_runTwoSwigExplicitOTCallback(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput));
     }
     else
     {
         otapiPINVOKE.OTCallback_runTwo(swigCPtr, szDisplay, OTPassword.getCPtr(theOutput));
     }
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }