IamUtil.UpdateDeviceFriendlyNameAsync()

DESCRIPTION

Update the device’s friendly name.

DECLARATION

System.Threading.Tasks.Task UpdateDeviceFriendlyNameAsync(Nabto.Edge.Client.IConnection, System.String)

PARAMETERS

  • connection: An established connection to the device
  • friendlyName: The friendly name to set

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the input name is not valid.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if Nabto Edge IAM is not supported by the device.