hello every body.
i want to connect my c# based inventory application to the server on the local area network.
the question is " how to resolve domain names and than how to connect with the server??" and also " how to get information of all the domains configured on the network??"
regards.
How to resolve domain names for c# application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Benjamin KemnerRank #7,492 · 240 reputationPosted Sep 6, 2011, 1:23 AM EDT
there is a method called GetHostEntry in Framework.
http://msdn.microsoft.com/de-de/library/ms143998.aspx
With IpHostEntry and one of the attached IPs it should be possible to connect you server i.g. with the TCPClient class.
http://msdn.microsoft.com/de-de/library/system.net.sockets.tcpclient.aspx
regards