I am trying to make a console application in which I am trying to get the drive information from the local machine using System.IO. Now I want to get the same information for a server from my local machine, how do I do that? How do I connect to it? and After Connection how do I access its System.IO? I know one thing that the servers can be accessed through UNC path(\\servername\name\dir\) but If I want to access the server disk spaces(using System.IO) and error logs how do I do that?
I already have username and passwords for it.
Any help on this is most welcome.