a guest May 16th, 2018 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Dim assemblies = AppDomain.CurrentDomain.GetAssemblies
- Dim assemblyName As String
- Dim assemblyVersion As String
- For Each assembly In assemblies
- assemblyName = assembly.GetName.Name.ToString
- assemblyVersion = assembly.GetName.Version.ToString
- ' How to get the date/time of the build??
- ' ...
- var version = Assembly.GetExecutingAssembly().GetName().Version;
- DateTime buildDate = new DateTime(2000, 1, 1)
- new FileInfo(Assembly.GetExecutingAssembly().Location).CreationTime;
RAW Paste Data