hi I have a class like Employee. This class has some fields like Id,Name,Surname, Tasks( a string array) , isManager , TaskDueDates ( a date-time array). I want to generate a text from this object. I think to use seperators, this is a basic solution. For example my text can be: 13;George;Smith;{"Task1","Task2","Task3"},false, {this night,nextweek}
But if one of the fields of the object includes this seperator characters; program will not work. After I generate the text; I want to encryp it with MD5 by using some key. This will generate some encrypted data like asp .net viewstate information. Program will also decrypt this encrypted data to the source object.
How can I do this? I am using Asp .Net 2005