The license number can be retrieved using any of the following ways:
In Plesk Panel go to Server, License Management and see the license number there.
The key number is also shown at the top of the browser when you logged in Plesk panel as admin
Run command prompt:
And use the following command: