I have this code to keep some configuration data
XmlSerializer xmlSerializer = new XmlSerializer(typeof(Entities.Application));
TextReader textReader = new StreamReader(XMLFile);
sequences = (Entities.Application)xmlSerializer.Deserialize(textReader);
textReader.Close();
Now I want to hide it a little bit and somehow use a binary format over XML (to keep XML anyway).
Is it possible to do? (Or there are some others approaches as well?)
How do it can be done?
Thank you!
If you want to obscure the XML, then two simple options are encoding the XML with Base64 or using Base64 in an XML element.