IamUtil.GetDeviceDetailsAsync()

DESCRIPTION

Retrieve device information that typically does not need a paired user.

DECLARATION

System.Threading.Tasks.Task`1[Nabto.Edge.ClientIam.DeviceDetails] GetDeviceDetailsAsync(Nabto.Edge.Client.IConnection)

PARAMETERS

  • connection: An established connection to the device

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the device configuration does not allow retrieving this list (the IAM:GetPairing action is not set for the Unpaired role)
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if Nabto Edge IAM is not supported by the device.

RETURNS

A DeviceDetails object containing the device information.