System.Reflection.Assembly assembly = System.Reflection.Assembly.GetEntryAssembly(); //DLL'i çağıran ana uygulama if (assembly == null) assembly = System.Reflection.Assembly.GetExecutingAssembly(); //Kodu çalıştıran uygulama string version = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location).FileVersion; //versiyon
Leave a Reply