ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
  • Special cases
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
SysSerialNum (Function)
In french: SysNumSérie
Returns the IMEI number of the current device.
This function is equivalent to SysIMEI.
Caution: This information is available up to Android 9. From Android 10, this information is no longer available: this function causes a fatal error.
Example
IF Val(SysAndroidVersion(sysVersionNumber))<10 THEN  
// Retrieve the serial number of the current phone
Info("Phone serial number: " + SysSerialNumber())
END
Syntax
<Result> = SysSerialNum()
<Result>: Character string
  • Serial number of the current Android phone,
  • Empty string ("") if an error occurred.
Remarks

Special cases

  • SysIMEI gets the IMEI number of a phone.
  • Devices that do not have a SIM card slot do not have an IMEI number (most tablets).
Component: wp290std.dll
Minimum version required
  • Version 11
Comments
[WM20] Heres a way to get SysSerialNum for iOS
You need to download some files and do some methods but it work! here's the link to check it out!

https://forum.pcsoft.fr/en-US/pcsoft.us.windevmobile/2177-wm20-get-for-ios/read.awp
Jose
23 May 2018

Last update: 05/26/2022

Send a report | Local help