Contents

DeviceInformationCommand.Command

The command to get detailed information about a device.

Declaration

object DeviceInformationCommand.Command

Properties

NameTypeDescription
DeviceAttestationNoncedata

A freshness code that appears in the resulting attestation. This value can contain up to 32 bytes of data. If specified, queries need to contain DevicePropertiesAttestation.

The MDM server uses this value to prove that an attestation was recently generated. The system caches the most recently generated attestation on the device. If omitted or if the value matches the cached attestation, the system returns the cached attestation. To request a new attestation, provide a new freshness code. Requests for new attestations are rate limited. If it is fewer than 7 days since the system generated an attestation, the device returns the cached attestation rather than generating a new one.

The hardware requirements for attestation are described below.

Available: iOS 16+ | iPadOS 16+ | macOS 14+ | tvOS 16+ | visionOS 1.1+ | watchOS 10+

Queries Required[DeviceInformationCommand.Command.Queries]

An array of query dictionaries to get information about a device.

RequestRequiresNetworkTetherboolean

If true, the device needs to be network-tethered to run the command.

RequestType Requiredstring

The request type for this command.

Topics

Objects