Building WebUpdater fails in library code...

BosseB:
Is this the correct way to do the operation?

I would do the same.