Platforms to show: All Mac Windows Linux Cross-Platform

Back to DADiskMBS class.

DADiskMBS.CreateFromBSDName(session as DASessionMBS, name as string) as DADiskMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Creates a new disk object.

session: The DASession in which to contact Disk Arbitration.
name: The BSD device name.

Returns a reference to a new DADisk.

DADiskMBS.CreateFromVolume(session as DASessionMBS, volume as folderitem) as DADiskMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Creates a new disk object.

Creates a new disk object.

Some examples using this method:

DADiskMBS.CreateFromVolumePath(session as DASessionMBS, path as string) as DADiskMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Creates a new disk object.

session: The DASession in which to contact Disk Arbitration.
path: The BSD mount point.

Available in OS X v10.7 and later.

DADiskMBS.kDADiskDescriptionBusNameKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionBusPathKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionDeviceGUIDKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a memoryblock.

DADiskMBS.kDADiskDescriptionDeviceInternalKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionDeviceModelKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionDevicePathKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

Some examples using this method:

DADiskMBS.kDADiskDescriptionDeviceProtocolKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionDeviceRevisionKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionDeviceUnitKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionDeviceVendorKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaBlockSizeKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionMediaBSDMajorKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionMediaBSDMinorKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionMediaBSDNameKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaBSDUnitKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionMediaContentKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaEjectableKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionMediaIconKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Dictionary.

DADiskMBS.kDADiskDescriptionMediaKindKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaLeafKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionMediaNameKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

Some examples using this method:

DADiskMBS.kDADiskDescriptionMediaPathKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaRemovableKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionMediaSizeKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Number.

DADiskMBS.kDADiskDescriptionMediaTypeKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionMediaUUIDKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a CFUUIDMBS.

DADiskMBS.kDADiskDescriptionMediaWholeKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionMediaWritableKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionVolumeKindKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

DADiskMBS.kDADiskDescriptionVolumeMountableKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionVolumeNameKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a String.

Some examples using this method:

DADiskMBS.kDADiskDescriptionVolumeNetworkKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a Boolean.

DADiskMBS.kDADiskDescriptionVolumePathKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a folderitem.

Some examples using this method:

DADiskMBS.kDADiskDescriptionVolumeUUIDKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Files MBS MacOSX Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the keys for the description dictionary.

The value in the dictionary for this key is a CFUUIDMBS.

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...