Return Machine Name

  • Thread starter Thread starter Hei
  • Start date Start date
H

Hei

Hi,

is .net framework provide a class that can browse network machine and reutrn
machine name? i find such function in .net framework reference for a long
time.

thx.
Hei
 
* "Hei said:
is .net framework provide a class that can browse network machine and reutrn
machine name? i find such function in .net framework reference for a long
time.

Maybe 'Environment.MachineName' helps.
 
I think he/she wants a list of machine names on network... at least thats
what it sounds like.

You can use the Win32API to get a Nethood list if you want.

The best way (because I haven't found a decent .net wrapper out there, nor
have the time to write one) but you can use your old VB6 API viewer to get
the prototypes for .NET which it will convert over in the designer.

Thats the best advice I can give.

-CJ
 
Mmm... I can't wait till we start doing SharePoint/AD development here! =)
Only 6 more months!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top