How to Serialize and DeSerialize?

  • Thread starter Thread starter Simon Says
  • Start date Start date
S

Simon Says

Dear all,

I'm new to the .Net CF and am facing some problem sending objects via TCP
socket. Can anyone please advise how I can convert an object to bytes() so
that I can send over TCP socket?

Thanks.

--Simon Teng
 
You need to write your own serialization routine using BinaryWriter and
BinaryReader classes
 
Can you kindly provide some sample or could you point me to any links for
reference.

--Simon Teng
 
Back
Top