I am creating applications with .NET Framework 4.5.1 and since it is the latest release most of the target computers have old versions of the framework.
I want soemthing like this
try
{
//Code to see if framework that user have is .NET Framework 4.5.1
}
catch
{
// Code to show a window to user that offers downloading .NET Framework 4.5.1
}
It should not necessarily be in this format but this is just to express my thought. Any affort would be appreciated. Thank you