문제

I'm quite new to windows sdk programming and i'm trying to write a code to discover devices on the network. The code should be able to get the name of the device(hostname) and ipadress of the device. Are there any predefinded Api's to do the same. I googled and got certain api's such as

 WNetGetNetworkInformation
 WNetGetResourceInformation

which didn't seem to serve the purpose.

도움이 되었습니까?

해결책

Take a look at this SO Article -- from today!

It shows how you can retrieve all information for a network adapter.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top