public bool CloseConnection(Connection connection, int reason, string debug, bool enableLinger) { if (debug.Length > Library.maxCloseMessageLength) throw new ArgumentOutOfRangeException("debug"); return Native.SteamAPI_ISteamNetworkingSockets_CloseConnection(nativeSockets, connection, reason, debug, enableLinger); }