public void Dispose() { if (this.host == IntPtr.Zero) { return; } NativeMethods.ENetHostDestroy(this.host); this.host = IntPtr.Zero; }