Measuring the W-mass via the W-pair production cross section