Property DeviceKey
DeviceKey
Sets or returns the secret key of this device used to obtain authorisation tokens.
Declaration
public string DeviceKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Leave null if you will be registering a new device. After registration is successful you can retrieve the key from this property.
Exceptions
Type | Condition |
---|---|
System.InvalidProgramException | Thrown if this property is modified after it has been passed to a AfterPayClient instance. |