[MonoTouch] Get Device free disk space
Shawn Baker
shawn.baker at librestream.com
Wed Dec 21 11:58:26 EST 2011
I've been using this:
string path =
Environment.GetFolderPath(Environment.SpecialFolder.Personal);
NSDictionary dictionary =
NSFileManager.DefaultManager.GetFileSystemAttributes(path);
NSNumber number =
(NSNumber)dictionary.ObjectForKey(NSObject.FromObject(NSFileManager.SystemFreeSize));
ulong freeBytes = number.UInt64Value;
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Get-Device-free-disk-space-tp4222289p4222411.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list