Question How do I serialize a TcpClient variable?

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.
 
Back
Top