public static NatTypeDetectionClient GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.NatTypeDetectionClient_GetInstance(); NatTypeDetectionClient ret = (cPtr == IntPtr.Zero) ? null : new NatTypeDetectionClient(cPtr, false); return(ret); }
public static void DestroyInstance(NatTypeDetectionClient i) { SLikeNetPINVOKE.NatTypeDetectionClient_DestroyInstance(NatTypeDetectionClient.getCPtr(i)); }
internal static HandleRef getCPtr(NatTypeDetectionClient obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }