Mac Guides | Samples

MonoMac.Foundation.NSFileSystemAttributes Class

File system attributes (size, blocks and free information).

See Also: NSFileSystemAttributes


public class NSFileSystemAttributes


This is a strong wrapper around the underlying NSDictionary returned by NSFileSystem APIs.


Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions:

The members of MonoMac.Foundation.NSFileSystemAttributes are listed below.

See Also: Object

Public Properties

FreeNodesInt64. The number of free nodes in the volume.
FreeSizeUInt64. The number of free bytes in the volume.
NodesInt64. The total number of nodes in the volume (maximum number of files).
NumberUInt32. The device number (corresponds to st_dev on the Unix stat structure).
SizeUInt64. The volume size in bytes.

Public Operators

Conversion to MonoMac.Foundation.NSDictionary(Implicit)Converts the NSFileSystemAttribute class into an NSDictionary, for source code compatibility with older versions of MonoMac/MonoMac.