public static new ContactNym ot_dynamic_cast(Storable pObject) { IntPtr cPtr = otapiPINVOKE.ContactNym_ot_dynamic_cast(Storable.getCPtr(pObject)); ContactNym ret = (cPtr == IntPtr.Zero) ? null : new ContactNym(cPtr, false); return ret; }