Table of Contents

Class CheckPassword

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Check if the given password is correct and matches the previously set value from M551. If no password was configured before or if it was set to "reprap", this will always return true

[RequiredPermissions(SbcPermissions.ObjectModelRead|SbcPermissions.ObjectModelReadWrite)]
public class CheckPassword : Command<bool>
Inheritance
CheckPassword
Derived
Inherited Members

Constructors

CheckPassword()

public CheckPassword()

Properties

Password

Password to check

public string Password { get; set; }

Property Value

string

Methods

UpdateFromJson(JsonElement)

Update this instance from a given JSON element

public override void UpdateFromJson(JsonElement jsonElement)

Parameters

jsonElement JsonElement

Element to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data

UpdateFromJsonReader(ref Utf8JsonReader)

Update this instance from a given JSON element

public override void UpdateFromJsonReader(ref Utf8JsonReader reader)

Parameters

reader Utf8JsonReader

Reader to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data