Platforms to show: All Mac Windows Linux Cross-Platform

Back to MacQuarantinePropertiesMBS class.

MacQuarantinePropertiesMBS.AgentBundleIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The bundle identifier of the quarantining agent, if available.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.AgentBundleIdentifier

When setting quarantine properties, this value is set automatically if the it is undefined. The automatic value is the main bundle identifier of the current process.
(Read and Write property)

Some examples using this property:

MacQuarantinePropertiesMBS.AgentName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The name of the quarantining agent (application or program).
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.AgentName

When setting quarantine properties, this value is set automatically to the current process name if this value is not defined.
(Read and Write property)

Some examples using this property:

MacQuarantinePropertiesMBS.DataURL as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The URL from which the data for the quarantined item data was actaully streamed or downloaded, if available.

dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.DataURL
(Read and Write property)

Some examples using this property:

MacQuarantinePropertiesMBS.DateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 20.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The date and time the item was quarantined.

When setting quarantine properties, this property is set automatically to the current date and time if this value is not set.
(Read and Write property)

MacQuarantinePropertiesMBS.Dic as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The original dictionary from Mac OS X.

This is a CFDictionaryMBS object which we provide for debugging.
You can pass it to CFShowMBS to print on console.
(Read and Write property)

MacQuarantinePropertiesMBS.OriginURL as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The URL of the resource originally hosting the quarantined item, from the user's point of view.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.OriginURL

For web downloads, this property is the URL of the web page on which the user initiated the download. For attachments, this property is the URL of the resource to which the quarantined item was attached (e.g. the email message, calendar event, etc.). The origin URL may be a file URL for local resources, or a custom URL to which the quarantining application will respond when asked to open it. The quarantining application should respond by displaying the resource to the user. Note: The origin URL should not be set to the data URL, or the quarantining application may start downloading the file again if the user choses to view the origin URL while resolving a quarantine warning.
(Read and Write property)

Some examples using this property:

MacQuarantinePropertiesMBS.TimeStamp as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The date and time the item was quarantined.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.TimeStamp.LongDate+" "+q.TimeStamp.LongTime

When setting quarantine properties, this property is set automatically to the current date and time if this value is not set.
(Read and Write property)

MacQuarantinePropertiesMBS.Type as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 9.8 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A symbolic string identifying the why the item is quarantined, if available.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.app")
dim q as MacQuarantinePropertiesMBS = f.MacQuarantinePropertiesMBS
MsgBox q.Type

(Read and Write property)

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


The biggest plugin in space...