Implementation of license retrieval.