Does anyone know how to convert a Hashtable to an XML String then back to a HashTable without using the .NET based XMLSerializer. The XMLSerializer poses some security concerns when code runs inside of IE and the browser’s protected mode is turned on –
So basically I am looking for an easy way to convert that Hashtable to string and back to a Hashtable.
Any sample code would be greatly appreciated.
Thanks
You could use the DataContractSerializer class: