You could serialize the object in a binary format. There is a sample on ms-help://MS.NETFrameworkSDK/cpguidenf/html/cpconbasicserialization.htm
Pierre ----------------------------------------------- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it ----------------------------------------------- -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Miguel Ángel Chacón Sent: Wednesday, May 29, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [DOTNET] byte[] to Object I need to convert a byte[] received from a low-level socket connection to an object, and then cast to a user-type object. Is this possible? How can I do? Thanks a lot. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.