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