Arslan
Arslan

Reputation: 569

Extract the list of a JAR classes in C#

Everything in on the title, is there a way to extract the list of jar classes (equivalent of jar tf) within C# ?

Thanks

Upvotes: 1

Views: 683

Answers (1)

MartinStettner
MartinStettner

Reputation: 29174

AfaIk, jars are just ZIP-Files with a different extension. So any good ZIP libary should do the trick.

A quick google gave me sharpziplib and this code example on how to iterate through all files in a ZIP archive.

Upvotes: 2

Related Questions