Reputation:
If a server is reporting its HTTP Headers as:
Server: Microsoft-IIS/10.0
X-SharePointHealthScore: 0
X-AspNet-Version: 4.0.30319
Can this be used to determine if the .NET framework is End of Life. According to Microsoft .NET framework 4.0 is no longer supported.
https://devblogs.microsoft.com/dotnet/support-ending-for-the-net-framework-4-4-5-and-4-5-1/
Upvotes: 2
Views: 6100
Reputation:
Apparently not possible from these values. The X-AspNet-Version refers to the common language runtime (CLR) version.
The CLR only translates very roughly to a .NET framework version.
CLR version .NET version
1.0 1.0
1.1 1.1
2.0 2.0, 3.0, 3.5
4 4, 4.5, 4.6, 4.7, 4.8
Sources: https://en.wikipedia.org/wiki/Common_Language_Runtime
Upvotes: 6