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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top