public static NatPunchthroughServer GetInstance()
        {
            IntPtr cPtr = SLikeNetPINVOKE.NatPunchthroughServer_GetInstance();
            NatPunchthroughServer ret = (cPtr == IntPtr.Zero) ? null : new NatPunchthroughServer(cPtr, false);

            return(ret);
        }
 public static void DestroyInstance(NatPunchthroughServer i)
 {
     SLikeNetPINVOKE.NatPunchthroughServer_DestroyInstance(NatPunchthroughServer.getCPtr(i));
 }
 internal static HandleRef getCPtr(NatPunchthroughServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }