To be fair i mentioned that, not him I like to think i know a fair bit about how dslr's work, but will admit i was under the impression the camera uses a selective area of the sensor for white balance measurement and then obviously algorithms sort out what the white balance should be after the photo is taken?
How is it done? Not trolling, genuinely interested.
How it is done is very much camera dependent