System.getFreeSpace() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.System.getFreeSpace(drive:String):Number

Parameters
drive:String - Drive identifier

Returns
A Number

Description
Returns the free space in MB of the specified drive.

Notes
On Mac OSX, specify the volume number instead of a drive letter, starting from 0.

On Linux, a volume identifier is not needed.

Example Code
var freeSpace:Number = mdm.System.getFreeSpace("c");

mdm.System Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page