상속: global::System.IDisposable
예제 #1
0
 public OTPassword(OTPassword rhs) : this(otapiPINVOKE.new_OTPassword__SWIG_2(OTPassword.getCPtr(rhs)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public static OTPassword CreateTextBuffer()
        {
            IntPtr     cPtr = otapiPINVOKE.OTPassword_CreateTextBuffer();
            OTPassword ret  = (cPtr == IntPtr.Zero) ? null : new OTPassword(cPtr, false);

            return(ret);
        }
예제 #3
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);
        }
예제 #4
0
        public bool Compare(OTPassword rhs)
        {
            bool ret = otapiPINVOKE.OTPassword_Compare(swigCPtr, OTPassword.getCPtr(rhs));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
 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();
     }
 }
예제 #6
0
 public OTPassword(SWIGTYPE_p_void vInput, SWIGTYPE_p_uint32_t nInputSize, OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_7(SWIGTYPE_p_void.getCPtr(vInput), SWIGTYPE_p_uint32_t.getCPtr(nInputSize), (int)theBlockSize), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #7
0
 internal static HandleRef getCPtr(OTPassword obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #8
0
 public OTPassword(OTPassword rhs)
     : this(otapiPINVOKE.new_OTPassword__SWIG_2(OTPassword.getCPtr(rhs)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #9
0
 public OTPassword(OTPassword.BlockSize theBlockSize)
     : this(otapiPINVOKE.new_OTPassword__SWIG_0((int)theBlockSize), true)
 {
 }
예제 #10
0
 public bool Compare(OTPassword rhs)
 {
     bool ret = otapiPINVOKE.OTPassword_Compare(swigCPtr, OTPassword.getCPtr(rhs));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #11
0
 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();
 }
예제 #12
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;
 }
예제 #13
0
 internal static HandleRef getCPtr(OTPassword obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }