Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit a39c4e8b authored by Michael KRISPER's avatar Michael KRISPER
Browse files

HashingLib: corrected some error (GetName after loading the assembly)

parent e2416d46
Branches
Tags
No related merge requests found
......@@ -242,7 +242,6 @@ hashingcmd.exe
WriteLine("computing hashes");
var components = h.GetContainigComponents();
if (components.Count > 1) {
var grouped = components.GroupBy(s => s)
.Select(g => new { Entry = g.Key, Count = g.Count() });
......@@ -290,7 +289,7 @@ hashingcmd.exe
private static void ShowVersionInformation()
{
var hashingLib = Assembly.LoadFile(AppDomain.CurrentDomain.BaseDirectory + "VectoHashing.dll");
var hashingLib = Assembly.LoadFile(AppDomain.CurrentDomain.BaseDirectory + "VectoHashing.dll").GetName();
WriteLine(string.Format(@"HashingLibrary: {0}", hashingLib.Version));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment