3

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.

JimDel
  • 4,309
  • 11
  • 54
  • 99

1 Answers1

4

You can do that in fairly simple way.

Community
  • 1
  • 1
MadBoy
  • 10,824
  • 24
  • 95
  • 156