I have a list of serveral hundred servers that I neet to connect to, get the list of shares, and count the number of files in each share. The network is mixed between Novell and Microsoft as we are in the process of migrating from Novell to Active
Is there a Base Class Library object that will allow me to enumerate the shares on a server? I can handle everything else. I just cannot figure out how to return the file shares on a given server.
In otherwords, If I have the server name "Server01", and do not know the NOS that I am talking to, how would I return the shares for that server?
I have looked at the System.IO and System.net.NetworkInformation namespaces as the possible obvious namespaces but came up short with an answer.
My output for the program will be a CSV file with 3 columns. Server Name, Share Name, FileCount.
View Complete Post