0saurabh

i m very new in C#.net..
m doinging some example on Socket Programming.
i want to know how to send hole file at a time.
can i send it as an Objct using Serialization
plz help me out.
thankx in advance


Re: .NET Remoting and Runtime Serialization hi everyone.. plz help me out

Wenlong Dong - MSFT

If you send a file, you can simply send it as a byte array (byte[]). You can use FileStream to read the whole file and send it over the wire. You can also send buffer-by-buffer. You don't need serialization for this.





Re: .NET Remoting and Runtime Serialization hi everyone.. plz help me out

0saurabh

thankx lots...