How can I find all the shares on a LAN without knowing any machine names or domain names using C#? I've found all kinds of solutions if you know the machine name but that isn't going to be available to me. I'm looking to obtain something similar to whats below:
//joescomp/public
//beth/apps
//server/pdf
//server/public
So it will show the name of the machine and whats shared on it.
Thanks.