开发者

Get Computer Names of a Lan in C#

开发者 https://www.devze.com 2023-03-09 15:22 出处:网络
I want to create a chat application in which there is a ComboBx. I want to fill it with all the computer names in a network. How can I accomplish this in C开发者_StackOverflow#?The best option for dis

I want to create a chat application in which there is a ComboBx. I want to fill it with all the computer names in a network. How can I accomplish this in C开发者_StackOverflow#?


The best option for discovering other computers in a LAN running the same application is probably mDNS.

Have a look at the Bonjour SDK for Windows which comes with a COM library usable from C# and sample code.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号