AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Net
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
NetMACAddress (Function)
In french: NetAdresseMAC
Returns the MAC address (physical address) of one of the network cards found on the computer.
AndroidAndroid Widget Caution: This information is available up to Android 10. From Android 11, this information is no longer available: This function returns an empty string.
A common solution to identifying a device is to create a GUID file and store it in your database.
Example
// Returns the MAC address of the computer
Info(NetMACAddress())
Syntax
<Result> = NetMACAddress([<Rank of network card>])
<Result>: Character string
  • MAC address (in "aa:bb:cc:dd:ee:ff" format),
  • Empty string ("") if a problem occurs.
<Rank of network card>: Optional integer
Used to specify the number of the network card whose MAC address must be retrieved (for the computers equiped with several network cards). The rank of the first card is set to 0.
If this parameter is negative, the address returned will be the one of the first network card.
Component: wd290com.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 09/01/2024

Señalar un error o enviar una sugerencia | Ayuda local