I need to get a list of all shares on a network device including the hidden ones. I write a network device since it may be a NAS, a Windows server or a Linux server
I have seen some samples and have tried some of them, but not one that gives me the list I need. Most of them only list the devices and not the shares.