How, specifically, does an electric meter measure wattage?

PeterH:
....the whole circuit is under your control, then you could try either using DC (I have no idea whether meters would detect that) of a very high frequency AC well outside the range the meter is designed to pick up.

what do you mean by this?