How to Get Multiple Remote System drive info in c#?

Tell  me some LOgic for thats..  i develop  one small console application to get remote system derive info it getting also but problem is getting only single remote machine data we have to want get mutiple remote machine data in single console application..
hepl!!!
Thanq
Vishal GundageAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
You have at present the current logic (pseudo code)
RemoteMachineID rmi = ....
GetDriveInfo(rmi)

you need to implement something like this logic

List<RemoteMachineID> lrmi = new List<RemoteMachineID>();
lrmi.Add(machine 1)
lrmi.Add(machine 2)

ForEach(RemoteMachineID rmi in lrmi)
{
  GetDriveInfo(rmi)
}

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vishal GundageAuthor Commented:
but
I am trying to make a tool that would login to multiple remote windows servers and get their drive details and display them under one window.
AndyAinscowFreelance programmer / ConsultantCommented:
You should follow my logic.  Build a list of all the servers you want (you said you can do it for one) and then iterate through the list.
AndyAinscowFreelance programmer / ConsultantCommented:
Modifying the existing code to follow that logic would do as requested.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.