async void ScreenConfig(System.IO.Stream stream) { var config = new CheckInMessage(state.ClientName, _screen.ScreenConfiguration[state.ClientName]); var buffer = config.GetBytes(); await stream.WriteAsync(buffer, 0, buffer.Length); await stream.FlushAsync(); }