Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/02/2010, 16:02
Avatar de ah_puch
ah_puch
 
Fecha de Ingreso: agosto-2005
Ubicación: Ecatepec, México
Mensajes: 180
Antigüedad: 18 años, 8 meses
Puntos: 3
Respuesta: Obtener direccion MAC

en un goglaso rapido encontre esto:
Código:
Dim colNetAdapters, objWMIService As Object

Dim strComputer As String



strComputer = "."

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colNetAdapters = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")


For Each objitem In colNetAdapters

MsgBox objitem.MACAddress

Next

para mas informacion al respecto revisa esto :
http://www.canalvisualbasic.net/foro...sica-mac-1289/

espero te sea util
__________________
La programacion no es un trabajo, es un Arte
http://www.purodev.blogspot.com