Which "Serialization" i have to prefer ?


I want to send data to a file (.txt). Which "Serialization" i have to prefer ? Binary , XML or SOAP ? And why ?

Advance ThanX for your time & patience.



  • It depends exactly what you're trying to save. If it's just a string of plain text, you can use the StreamWriter and StreamReader classes to access the data. If the data has structure and isn't sensitive, best bet would be XML. If it's sensitive data, you can either encrypt XML or use binary.

    Danny Smurf
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion