public void ExamineFile_Can_Identify_A_Dot_Net_Core_Assembly()
        {
            var path = Path.Combine(TestContext.CurrentContext.TestDirectory, "TestFiles", "DotNetCoreComServer.dll");
            var fileShellExtensions = ComAdmin.ExamineFile(path);

            Assert.That(fileShellExtensions.FileType, Is.EqualTo(FileType.DotNetCoreAssembly));
            Assert.That(fileShellExtensions.Version, Is.EqualTo(new Version(1, 0, 0, 0)));
            Assert.That(fileShellExtensions.ProcessorArchitecture, Is.EqualTo(ProcessorArchitecture.MSIL));
            Assert.That(fileShellExtensions.FrameworkName, Is.EqualTo(".NETCoreApp,Version=v3.1"));
        }
        public void ExamineFile_Can_Identify_A_Native_Dll()
        {
            var path = Path.Combine(TestContext.CurrentContext.TestDirectory, "TestFiles", "NativeDll.dll");
            var fileShellExtensions = ComAdmin.ExamineFile(path);

            Assert.That(fileShellExtensions.FileType, Is.EqualTo(FileType.NativeDll));
            Assert.That(fileShellExtensions.Version, Is.Null);
            Assert.That(fileShellExtensions.ProcessorArchitecture, Is.EqualTo(ProcessorArchitecture.None));
            Assert.That(fileShellExtensions.FrameworkName, Is.Null);
        }