E
Eka Gautama
Hi All,
How to retrive computer list in a workgroup?
Regards
Eka
How to retrive computer list in a workgroup?
Regards
Eka
Nicholas Paldino said:Eka,
You probably want to use the P/Invoke layer and call the
NetQueryDisplayInformation API function. This will allow you to enumerate
through machines on the network. You will have to make the call through the
P/Invoke layer though. Check out the knowledge base article titled "HOWTO:
Use NetQueryDisplayInformation() in Visual Basic" located at (watch for line
wrap):
http://support.microsoft.com/default.aspx?scid=kb;en-us;316318
While it is for VB6, you can use that to help with making the
declarations and the calls in C#.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Eka Gautama said:Hi All,
How to retrive computer list in a workgroup?
Regards
Eka