public byte[] OnUpdateAllCommand(CoreNetworkServer server, CoreNetworkOpcode opcode, byte[] payload) { //Read token uint token = BinaryTool.ReadUInt32(payload, 0); var eventSender = new OperationProgressClient(this, token); //Begin thread var t = new Thread(() => { PackageUpdater.BeginUpdate(eventSender); }); t.IsBackground = true; t.Start(); return(new byte[0]); }