You wouldn't. You serialise objects that contain data and a TcpClient doesn't really contain data. It's a tool used to make a TCP connection in order to transfer data between a client and a server. Can you explain more fully what you're actually trying to achieve? We can then provide advice on the best way to achieve it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.