1

My mission is to check if .NET is installed (and terminate the application if not).

I have to check for the following (we have some application variants)

  • FW 3.5
  • FW 3.5 SP1
  • FW 4.0
  • FW 4.5

I guess I have to check if some folder exists - how do I know its name?

ucMedia
  • 3,221
  • 4
  • 32
  • 42

1 Answers1

1

This link might be of some use to you: How to: Determine Which .NET Framework Versions Are Installed

It even has example code for C#, VB.NET, etc...

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
TimothyP
  • 20,042
  • 25
  • 91
  • 142