I want to search for shared folders / drives in a local network.
A machine on the network has a folder shared, and it's mapped to the drive letter "X:\"
Another machine on the network has a folder shared, and it's mapped to the drive letter "Y:\".
On a third machine, I'm looking for a method to iterate through all folder / drives shared on this network. This method would list these 2 drives / folders.
So far, I haven't been able to find any function / method that would return these 2 shared folders.
What would be the way to iterate through the shared folders or network drives?
Thank you!