Hi @Gowrab Das Dip ,
>This only shows the version and edition of mssql server but not the license information. I want to know the license information.
Did you mean that you want to get the license key information? If so, you can try the workarounds from third party blog. Get the information through windows registry key or using Power shell. Please refer to below third blog to get detail steps. If i misunderstood, please let me know.
How to Find Microsoft SQL Server Product Key
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".