Hey there everyone. I am working on a project that requires me to detect the .NET version that is assigned to an application pool. The project is being written in C++ with a few C# areas but can call any number of other files or languages if there is a need. The only thing is, everything that it calls has to be available on a standard web server installation of Windows 2003(R2), 2008 and 2008R2.
We found a VBScript file that works somewhat well on Windows 2003, but we would much prefer to avoid this and use an ADSI call or something similar. The problem is that ADSI doesn't have the capabilities to do what we are trying to make it do.
Please let me know if you need any other information in order to provide a possible answer.
Thanks a bunch everyone.