read version info

read version info

Postby hannes_a » Tue 13 Jul 2010 14:24

how can I read installed dotConnect versioninfo (assembly information) during runtime in an aspx site ?

thank you
Posts: 77
Joined: Sun 22 Jan 2006 20:44
Location: munic

Postby Shalex » Wed 14 Jul 2010 16:04

You can get the version of assembly in runtime in this way:
Code: Select all
using System;
using System.Reflection;
System.Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;

For more information, please refer to For example, you can iterate all the assemblies in your domain, find the necessary assembly by the name (sample from the MSDN link), and check its version as it is posted above.
Devart Team
Posts: 7888
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle