xml

Signing XML documents

By creating different types of programs, sometimes there is a problem to ensure the authenticity of the file. This situation occurs, when these files are very important data, change which could lead to generate different types of losses. Such files can be license files, containing financial data, and medical data, etc. This problem can be solved very easily using XML files. Just, sign that the XML file and check the signature before re-use file. If it is correct then we will have confidence, that the file has not been any unauthorized modifications. In the event of any change, signature of [...]

By |2013-06-10T14:03:09+02:0015 February 2011 |C#, XML|2 Comments

SerializableDictionary

This day, I needed to use XML serialization for a class Dictionary. I was very surprised when I have discovered, that this class does not support this kind of serialization. It seems to be, that XML data format is already the standard today, but it turns out, that is not everywhere. I try to find some solution in Google. I was thinking that somebody has been struggling with the same issue and shared developed solution. I managed to find some examples of solutions to this problem, but each of them had a small errors, that caused, that dictionary did not [...]

By |2013-06-10T14:06:52+02:0031 October 2010 |C#|9 Comments