You can read the mac address with xailer?
someone can give me some suggestions?
Tanks
Frank
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
MAC ADDRESS
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
MAC ADDRESS
Hi Frank,
I use this:
FUNCTION GetMacAddress()
LOCAL nHKey := HKEY_LOCAL_MACHINE
LOCAL cRegPath := "SOFTWAREMicrosoftWindows Genuine Advantage"
LOCAL cRegKey := "MAC"
LOCAL cMac := ""
WITH OBJECT tregistry():Create()
:Root := nHKey
IF :OpenKey( cRegPath ) == 0
cMac := PADR(:GetString( cRegKey ),17)
:CloseKey()
ENDIF
:Destroy()
END WITH
RETURN cMac
I use this:
FUNCTION GetMacAddress()
LOCAL nHKey := HKEY_LOCAL_MACHINE
LOCAL cRegPath := "SOFTWAREMicrosoftWindows Genuine Advantage"
LOCAL cRegKey := "MAC"
LOCAL cMac := ""
WITH OBJECT tregistry():Create()
:Root := nHKey
IF :OpenKey( cRegPath ) == 0
cMac := PADR(:GetString( cRegKey ),17)
:CloseKey()
ENDIF
:Destroy()
END WITH
RETURN cMac
MAC ADDRESS
Hi Maarten,
THANK YOU FOR TIP
THERE IS A WAY TO READ THE MAC ADDRESS DIRECTLY FROM NETWORK CARD?
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> ha scritto nel messaggio
news:4d89b8e1$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hi Frank,
>
> I use this:
>
> FUNCTION GetMacAddress()
> LOCAL nHKey := HKEY_LOCAL_MACHINE
> LOCAL cRegPath := "SOFTWAREMicrosoftWindows Genuine
> Advantage"
> LOCAL cRegKey := "MAC"
> LOCAL cMac := ""
>
> WITH OBJECT tregistry():Create()
> :Root := nHKey
> IF :OpenKey( cRegPath ) == 0
> cMac := PADR(:GetString( cRegKey ),17)
> :CloseKey()
> ENDIF
> :Destroy()
> END WITH
>
> RETURN cMac
THANK YOU FOR TIP
THERE IS A WAY TO READ THE MAC ADDRESS DIRECTLY FROM NETWORK CARD?
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> ha scritto nel messaggio
news:4d89b8e1$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hi Frank,
>
> I use this:
>
> FUNCTION GetMacAddress()
> LOCAL nHKey := HKEY_LOCAL_MACHINE
> LOCAL cRegPath := "SOFTWAREMicrosoftWindows Genuine
> Advantage"
> LOCAL cRegKey := "MAC"
> LOCAL cMac := ""
>
> WITH OBJECT tregistry():Create()
> :Root := nHKey
> IF :OpenKey( cRegPath ) == 0
> cMac := PADR(:GetString( cRegKey ),17)
> :CloseKey()
> ENDIF
> :Destroy()
> END WITH
>
> RETURN cMac
MAC ADDRESS
FRANK,
> THERE IS A WAY TO READ THE MAC ADDRESS DIRECTLY FROM NETWORK CARD?
In the spanish forum there is a old thread where Xavi published a function
to read it.
Regards,
José Lalín
> THERE IS A WAY TO READ THE MAC ADDRESS DIRECTLY FROM NETWORK CARD?
In the spanish forum there is a old thread where Xavi published a function
to read it.
Regards,
José Lalín