[M3devel] getting mac address with netbios

Jay K jay.krell at cornell.edu
Sat Apr 17 17:08:04 CEST 2010


We have this code:

 

C:\dev2\cm3.2\m3-libs\libm3\src\uid\WIN32\MachineIDWin32.m3(33):    EVAL NB30.Netbios(ADR(ncb));
C:\dev2\cm3.2\m3-libs\libm3\src\uid\WIN32\MachineIDWin32.m3(41):      EVAL NB30.Netbios(ADR(ncb));
C:\dev2\cm3.2\m3-libs\libm3\src\uid\WIN32\MachineIDWin32.m3(48):        EVAL NB30.Netbios(ADR(ncb));


 

I just noticed:

 

http://msdn.microsoft.com/en-us/library/bb870913(VS.85).aspx

 

[Netbios is not supported on Windows Vista, Windows Server 2008, and subsequent versions of the operating system]
 

 

someone should try this out..

and change it to work if needed..

 

http://www.codeguru.com/Cpp/I-N/network/networkinformation/article.php/c5451

 

I'm pretty partial to the UuidCreate/UuidCreateSequential solution really.

 

This MachineID probably needs more work anyway -- support for more operating systems.

 

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100417/ca66a7ed/attachment-0001.html>


More information about the M3devel mailing list