ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
  • Special cases
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
SysSerialNum (Function)
In french: SysNumSérie
Returns the IMEI number of the current device.
This function is equivalent to SysIMEI.
Note: This information is available only up to Android 9. From Android 10, this information is no longer available. Using 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: wp300std.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: 01/14/2025

Send a report | Local help