简体   繁体   中英

How to get list of computers names in Microsoft windows network using c++?

我想显示网络中所有计算机和交换服务器的名称,就像我们在路径开始->网上邻居->整个网络->Microsoft windows网络中看到的一样。

Try using NetServerEnum function. The given link has a good example.

Let me know in case you in case you have any doubt in it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM