SQL doesn't keep track of how it's licenced, that's paperwork. (other than SQL 2012 in one case)
As for server name, version and edition, have a look at the MAP tool from Microsoft.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability