Is there any solution to parse a java manifest (manifest.mf) file in C#?
I need to get values from it.
Thank you very much!
Is there any solution to parse a java manifest (manifest.mf) file in C#?
I need to get values from it.
Thank you very much!
I doubt that there's a C# Specific library for this, but this question (Use of the MANIFEST.MF file in Java) has a great overview of the file, what it's for, and a lot of other helpful information.
That being said, the quick and dirty way (in my opinion) for how to do this would be split every line by a colon, the first value in the array is the header name, and all other values after that, would be the value. (just in case your value has a colon in it, I'm unsure if that's allowed by the spec or not but, but I'd assume so.