You can get it with Reflection
vb Code:
Imports System.Reflection Namespace Reflection Public Class Peeker Public Function GetTargetFramework(ByVal Path As String) As String Dim asm As Assembly = Assembly.LoadFile(Path) Return asm.ImageRuntimeVersion End Function End Class End Namespace






Reply With Quote