How do I get the Machine Number?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

C#

As the title says.....How do i obtain the Machine Number of the machine my
code is running on in C#??

Thanks

Steve
 
Steve,

There is no machine number, there is not even a "nubmer". Yesterday there
was a long discussion in the newsgroup languages.vb. The most that reached
it is a mac address in a network adapter. However than there was somebody
replying that at least he had no network adapter in his computer.

Cor
 
I am running a windows app, and what I was after was the machine name.
Sorry I mis typed it. I found it though in the end, the answer was
System.Net.DNS.GetHostName()

Thanks anyway.
 
Back
Top