X-ray-line diagnostic of magnetic field strength for high-temperature plasmas.