Domanda

I have a client server application. It uses the LAN network (TCP). I wont pass data table client to server and server to client. Using Remote methods and events (TCP)in C#.

How can I do that ?

È stato utile?

Soluzione

Serialize your DataTable to Xml and send it over the TCP. If you want to be secured, encrypt the bytes.

Best Solution for this would be using WCF with TCP Binding.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top