For example, to change the setting of the device name to "Excellent Device," modify the call as follows:
SetDeviceName("Excellent Device");
See <product installation path>\Share\MakeTmpl\web\WebServerConfig\ChangeDeviceName for an example.