The string used is OK but you also need to provide the path to the licence server installation package along with echoid application for code requesting and Auto Run MFC Application for the server to recognize the licence.
You will need to implement these based on the documentation available for the product.