Is there a way to get the current version of ASP.NET MVC in code? Reflecting on MVC assemblies is needed? Any new IIS server variables? Some property to read in HTTP context?
You can also check version of Microsoft.AspNet.Mvc nuget package installed in your project.
You can use Package Manager Console:
Get-Package Microsoft.AspNet.Mvc