internal static HandleRef getCPtr(PTEID_EIDCard obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public PTEID_EIDCard getEIDCard() { PTEID_CardType cardType=getCardType(); switch(cardType) { case PTEID_CardType.PTEID_CARDTYPE_EID: PTEID_EIDCard ret = new PTEID_EIDCard(pteidlib_dotNetPINVOKE.PTEID_ReaderContext_getEIDCard(swigCPtr), false); if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve(); return ret; case PTEID_CardType.PTEID_CARDTYPE_KIDS: return getKidsCard(); case PTEID_CardType.PTEID_CARDTYPE_FOREIGNER: return getForeignerCard(); default: throw new PTEID_ExCardBadType(); } }