示例#1
0
        private Version GetBinaryVersion(MetadataLoadContext metaDataLoadContext, IArchiveEntry archiveEntry)
        {
            using var entryStream = archiveEntry.ExtractToStream();
            var assembly = metaDataLoadContext.LoadFromStream(entryStream);

            return(assembly.GetName().Version);
        }