I have a web server that runs a third party. I do not have direct access to the server, but I can deploy ASP.NET code for it. I want to determine if ASP.NET 4 / .NET 4 is running on this server or not. What is the easiest way to do this? Is there an environmental property somewhere that will tell me? Or should I try to load a specific class that only exists in .NET 4?
source
share