PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
NetMACAddress (Function)
In French: NetAdresseMAC
Returns the MAC address (physical address) of one of the network cards found on the computer.
Versions 23 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 23
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
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 occurred.
<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 0.
If this parameter is negative, the address returned will be the one of the first network card.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Android wd230android.jar
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment