سؤال

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 ?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top