How to rewrite the Client Name in Citrix StoreFront 3.9 using StoreFront SDK

In some companies there may be applications that require the user’s client name (PC name) to be rewritten to something specific for the application to work through XenApp.