StorageDevice.FreeSpace Property

Gets the amount of free space on the device.

Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)

Syntax

public long FreeSpace { get; }

Property Value

Free space on the device, in bytes.

Exceptions

Exception type Condition
StorageDeviceNotConnectedException The storage device bound to the container is not connected.

See Also

Reference

StorageDevice Class
StorageDevice Members
Microsoft.Xna.Framework.Storage Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP