Reputation: 93
I need to create a plist of the species, as it can be done on wp7?
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>
game
</key>
</dict>
</plist>
Upvotes: 0
Views: 403
Reputation: 5557
Check this C# Property List (plist) serialization library (MIT license). It supports both XML and binary versions of the plist format.
To write a plist, e.g. dictionary
Dictionary<string, object> dict = new Dictionary<string, object>
{
{"String Example", "Hello There"},
{"Integer Example", 1234}
};
Plist.writeXml(dict, "xmlTarget.plist");
Upvotes: 1