Syntax:
[int] sysinfo.drivesize(String drivename)
Description:
The drivesize method can be used to detect the total size of an existing memory storage in a device.
Argument:
drivename:
A string that specifies the name of a drive to be examined.
Return value:
If the drive exists, this method returns an integer value indicating the total size of the specified drive, measured in bytes.
Example code:
See the drivefree() example code.