How to find the version of crystal reports running on my system?

Is there a built-in function in C # to get the version of installed Crystal reports on my computer?

+4
source share
1 answer

There is no built-in function. But you can check each version of the assembly :

try
{
    var cr13_installed = System.Reflection.Assembly.Load(
        "CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    );
}
catch (System.IO.FileNotFoundException)
{
    // not installed
}
+2
source

Source: https://habr.com/ru/post/1525156/


All Articles