IamUtil.UpdateIamSettingsPasswordOpenPairingAsync()
DESCRIPTION
Enable/disable the password open pairing mode on the device.
DECLARATION
System.Threading.Tasks.Task UpdateIamSettingsPasswordOpenPairingAsync(Nabto.Edge.Client.IConnection, Boolean)
PARAMETERS
connection
: An established connection to the deviceenabled
: Set to true if password open pairing mode should be enabled, false if it should be disabled.
ERRORS
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.