Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert an Mac OS X binary formatted plist to readable format in C#

Does anyone know if/how I can convert a binary formatted Mac OS X plist file to a plain XML string in C#?

I know there are some plist editors for Windows available that says they support binary formatted plist files, but I need to do this inline in my own application.

like image 809
Geir-Tore Lindsve Avatar asked Jan 22 '26 13:01

Geir-Tore Lindsve


1 Answers

I realize this is super old, but I'm posting my solution for posterity.

I couldn't find anything usable sort of launching an external process when I embarked on binary plist serialization a few weeks ago, so I had to roll my own.

For others looking for C#/.NET binary plist serialization, you can find my implementation at https://github.com/ChadBurggraf/plists-cs.

Hopefully this helps some folks out.

like image 106
chadb Avatar answered Jan 25 '26 08:01

chadb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!