public static ZenError ZenShutdown(ZenClientHandle_t handle) { ZenError ret = (ZenError)OpenZenPINVOKE.ZenShutdown(ZenClientHandle_t.getCPtr(handle)); if (OpenZenPINVOKE.SWIGPendingException.Pending) { throw OpenZenPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }