IDeviceInfo
Interface in Oadm.Sdk.Devices · Oadm.Sdk.dll
Read-only view of a managed device, as exposed to plugins.
public interface IDeviceInfoGuide: Devices and VAPIX
Properties
Section titled “Properties”AddedByAllDevices
Section titled “AddedByAllDevices”bool AddedByAllDevices { get; }Default implementation
A user with all devices (or the system) added the device. SDK 0.4.0: only then may a plugin trust names the device was added with, e.g. its host name in a certificate (a user limited to a device group could control the DNS at a site). False when not known (older hosts, the client).
Address
Section titled “Address”string Address { get; }The address OADM reaches the device at: an IP address or a DNS name, with a port when it is not the default.
IReadOnlyList<DeviceApi> Apis { get; }VAPIX APIs and versions from the last full refresh; empty until known. See DeviceApiExtensions.
Architecture
Section titled “Architecture”string? Architecture { get; }Default implementation
The CPU architecture (“aarch64”); null when not known. SDK 0.7.0, filled by the server.
Category
Section titled “Category”DeviceCategory Category { get; }Kind of Axis device, mapped from basicdeviceinfo ProdType. Unknown until read.
CertNotAfterUtc
Section titled “CertNotAfterUtc”DateTime? CertNotAfterUtc { get; }Default implementation
End of validity (UTC) of the device HTTPS certificate; null for HTTP-only devices or when not checked yet.
CertTrustName
Section titled “CertTrustName”string? CertTrustName { get; }Default implementation
Chain trust of the HTTPS certificate as shown in the device grid: “Trusted”, “SelfSigned”, “Untrusted” or “Expired”; null when unknown or HTTP only. Filled by the server.
ConnectsOverHttps
Section titled “ConnectsOverHttps”bool? ConnectsOverHttps { get; }Default implementation
How OADM connects to the device: true over HTTPS, false over HTTP (what it sends crosses the network unencrypted); null when not known. Filled on server and client.
CredentialUserName
Section titled “CredentialUserName”string? CredentialUserName { get; }Default implementation
User name of the credentials OADM stores for this device (never the password), null when none are stored or not known (client side). Plugins that manage users must never remove or demote it. Filled by the server for task execution, queries and CanRun.
DhcpEnabled
Section titled “DhcpEnabled”bool? DhcpEnabled { get; }Default implementation
The device gets its IPv4 address from DHCP (param Network.BootProto); null when not known. Filled by the server.
Dot1xEnabled
Section titled “Dot1xEnabled”bool? Dot1xEnabled { get; }Default implementation
IEEE 802.1X is enabled on the wired interface (param Network.Interface.I0.dot1x.Enabled); null when not known. Filled by the server.
FirmwareVersion
Section titled “FirmwareVersion”string? FirmwareVersion { get; }The AXIS OS version (“12.11.77”); null until the device was read.
HasLiveVideo
Section titled “HasLiveVideo”bool HasLiveVideo { get; }Default implementation
The device sends a live video stream: the devices with IDeviceInfo.HasVideo and security radars (their radar picture). Use it for live video only; a radar has no exposure, optics or snapshots of a scene. SDK 0.8.0.
HasVideo
Section titled “HasVideo”bool HasVideo { get; }The device produces video (camera, encoder, video intercom). Use it in CanRun, e.g. for snapshots.
HostName
Section titled “HostName”string? HostName { get; }The verified DNS name or the host name the device was added with; null when none is known.
HttpsEnabled
Section titled “HttpsEnabled”bool? HttpsEnabled { get; }Default implementation
HTTPS is enabled on the device (param HTTPS.Enabled); null when not known. Filled by the server.
Guid Id { get; }OADM’s id of the device: the key of every call and of a plugin’s own data.
string? Model { get; }The product number (“P3265-V”); null until the device was read.
Serial
Section titled “Serial”string Serial { get; }The serial number, which is the MAC address: upper case hex without separators (“B8A44F631339”).
SiteId
Section titled “SiteId”Guid? SiteId { get; }Default implementation
The site the device is reached through (a remote network with an OADM Site Node); null = the server’s own network. Plugins may refine CanRun with it. Filled on server and client.
SiteName
Section titled “SiteName”string? SiteName { get; }Default implementation
The name of IDeviceInfo.SiteId (“Building B”); null on the server’s own network.
string? Soc { get; }Default implementation
The system on chip as the device reports it (“Axis Artpec-8”); null when not known. SDK 0.7.0, filled by the server.
Status
Section titled “Status”DeviceStatus Status { get; }The status from the last poll (every 60 s by default). Check it before sending anything: see DeviceMessages.Refusal.
IReadOnlyList<string> Tags { get; }Default implementation
The device’s tags (names, sorted, case-insensitive distinct), e.g. “Building A”, “PTZ”; empty when none. Tags are set by the user in the Devices page (Tags dialog); colors are not part of the SDK. Filled on server and client.
Used by
Section titled “Used by”ActionInvocation.DeviceDeviceMessages.RefusalDeviceMessages.StatusTextDevicePickItem.DeviceDevicePickerViewModelDevicePickerViewModelDevicePickerViewModelDevicePickerWindow.ShowAsyncDevicePickerWindow.ShowChoiceAsyncDevicePickerWindow.ShowOneAsyncDeviceTreeDeviceDeviceTreeDevice.DeviceDeviceTreeModel.FilterDeviceTreeModel.MatchesDeviceTreeModel.RebuildICallContext.ContainsIComplianceContext.DeviceIComplianceQueryContext.DeviceICorePluginClientContext.DevicesICorePluginClientContext.SelectedDevices- and 28 more