Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/01/2011, 09:29
Avatar de Aquaventus
Aquaventus
 
Fecha de Ingreso: junio-2010
Ubicación: Lima-Peru , En el alba de la naturaleza
Mensajes: 2.105
Antigüedad: 13 años, 10 meses
Puntos: 267
Respuesta: Mac de la Tarjeta de Red

Hola Escorpion_Negro en este misma web postearon la solucion de obtener la mac de la tarjeta de red. El code fue este:

Código vb:
Ver original
  1. Public Function GetMAC() As String
  2.  
  3.         Dim str As String
  4.  
  5.         Dim p As New Process
  6.  
  7.         'StartInfo representa el conjunto de parámetros que se van a
  8.  
  9.  
  10.  
  11.         p.StartInfo.UseShellExecute = False
  12.  
  13.         p.StartInfo.RedirectStandardOutput = True
  14.  
  15.         p.StartInfo.FileName = "GetMac.exe"
  16.  
  17.         p.StartInfo.Arguments = "/fo list"
  18.  
  19.         p.Start()
  20.  
  21.         'StandardOutput Obtiene una secuencia que se utiliza
  22.  
  23.         str = p.StandardOutput.ReadLine
  24.  
  25.         str = p.StandardOutput.ReadLine
  26.  
  27.         p.WaitForExit()
  28.  
  29.         Return str.Substring(23)
  30.  
  31.     End Function

Fuente :
http://www.forosdelweb.com/f29/obtne...vb-net-609318/
__________________
Internet es tener todo el conocimiento global a tu disposición.
Desarrollo de Software - Ejemplos .Net

Última edición por Aquaventus; 05/01/2011 a las 11:13