In my program, I have two different versions of the same dll, say A.dll, version 1.0 and 2.0. The method names within this dll are the same but internal functionality might differ for some of them. I want my program to use A.dll version 1.0 if a particular condition is met, else version 2.0. Is there any way to do that? I saw this but I dont think this is exactly what I need.
Edit : I need to decide based on a 3rd party software installed on the system, the version of this party software gives me a hint on which version of the dll to use.