public Connector(string version, bool allowConnections) { this.connection = new NetCore(version, allowConnections); this.connection.PeerConnected += Connection_PeerConnected; this.connection.PeerClosed += Connection_PeerClosed; }
internal void SetCore(NetCore core) { this.core = core; }