File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717using System ;
1818using System . DirectoryServices . Protocols ;
19+ using System . Reflection ;
1920using System . Threading ;
2021using System . Threading . Tasks ;
2122using CommandLine ;
@@ -40,6 +41,8 @@ public static async Task Main(string[] args) {
4041 logger . LogInformation ( "This version of SharpHound is compatible with the 5.0.0 Release of BloodHound" ) ;
4142
4243 try {
44+ logger . LogInformation ( "SharpHound Version: {Version}" , Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version ) ;
45+ logger . LogInformation ( "SharpHound Common Version: {Version}" , Assembly . GetAssembly ( typeof ( CommonLib ) ) . GetName ( ) . Version ) ;
4346 // Checks the release version available on the machine.
4447 var releaseVersion = ( int ) Registry . GetValue ( "HKEY_LOCAL_MACHINE\\ SOFTWARE\\ Microsoft\\ NET Framework Setup\\ NDP\\ v4\\ Full" , "Release" , 0 ) ;
4548 if ( releaseVersion == 0 ) releaseVersion = ( int ) Registry . GetValue ( "HKEY_LOCAL_MACHINE\\ SOFTWARE\\ Microsoft\\ NET Framework Setup\\ NDP\\ v4\\ Full" , "Release" , 0 ) ;
You can’t perform that action at this time.
0 commit comments