I need to serialize every control of .NET managed process(whether its main form, child controls like buttons, calender, text boxes, list boxes and combos etc..). Every simple class object is easily serializeable/deserializeable using binary formatters.
But these controls which I got their info through reflection(Type.GetFields(), Type.GetProperties()..) are not serializaing in any way through this serialization method which I described.
Mainly it throws "type System.Forms.Form.WinForm to be serialize" exception. After serialization i need to pass these controls information as it is to other remote process.
Any body having idea how can .NET controls information be serializeable any way. What about Json?
View Complete Post