Search Results for

    Show / Hide Table of Contents

    Finding out which FlexCel version you are using

    Sometimes you want to know the exact FlexCel version you are using from inside your app, and you might also want to make sure you aren't using a trial. You can use the following code to find out:

        System.Reflection.Assembly assembly = System.Reflection.Assembly.GetAssembly(typeof(ExcelFile));
    
        //Find out the version.
        var version = assembly.GetName().Version;
        Console.Write(version.ToString());
    
        //Find out if it is a trial or a registered assembly. Trial has the word "TRIAL" in the title.
        var title = assembly.GetCustomAttributes(typeof(System.Reflection.AssemblyTitleAttribute), false)
             .OfType<System.Reflection.AssemblyTitleAttribute>()
             .FirstOrDefault().Title;
        Console.WriteLine(title);
    
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com