PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Signatures
  • Special cases
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
SysSerialNum (Function)
In french: SysNumSérie
Returns the serial number of the current Mobile Device (Pocket PC).
Versions 16 and later
Android This function is now available for Android applications.
AndroidAndroid Widget In Android, this function is equivalent to SysIMEI: it returns the IMEI number of the device.
New in version 16
Android This function is now available for Android applications.
AndroidAndroid Widget In Android, this function is equivalent to SysIMEI: it returns the IMEI number of the device.
Android This function is now available for Android applications.
AndroidAndroid Widget In Android, this function is equivalent to SysIMEI: it returns the IMEI number of the device.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
// Retrieve the serial number of the current Pocket PC or phone
Info("The serial number of this Pocket PC or phone is " + SysSerialNum())
Syntax
<Result> = SysSerialNum()
<Result>: Character string
  • Serial number of the current Mobile Device (Pocket PC) or Android phone,
  • Empty string ("") if an error occurred.
Remarks

Signatures

To use this function, the executable as well as the framework DLLs must be signed.

Special cases

  • SysIMEI is used to find out the IMEI number of a Smartphone.
  • AndroidAndroid Widget Devices that do not have a SIM card slot do not have an IMEI number (most tablets).
Related Examples:
The System functions Unit examples (WINDEV Mobile): The System functions
[ + ] Using the WLanguage "System" functions available in WINDEV Mobile:
- SysShutdown associated with the sysReboot, sysPoweroff, sysPoweronScreen and sysPoweroffScreen constants.
- SysDirStorageCard that is used to retrieve the path of the storage card
- SysSpace that is used to retrieve the sizes of spaces (storage and program, total and free)
- SysSerialNum that is used to retrieve the serial number of the device
Component : wp250std.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