how to:枚举网络邻居的计算机及其共享文件夹
author:水如烟(http://blog.csdn.net/lzmtw)
date:
关键引用空间:system.directoryservices,system.management
说明:form上有一个treeview1,button1
代码如下:
private sub button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click
private sub button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click
getnetcomputernameandsharefolder()