Class DeviceLinkStart
Represents a device link that was just started: the code that the new device shows, the ID and poll secret it checks the link's status with, and how long the link waits for approval. Everything in it goes to the new device only.
Namespace: Singulink.Net.Http.Api.DataContracts
Assembly: Singulink.Net.Http.Api.dll
Syntax
public sealed class DeviceLinkStart
Constructors
| Name | Description |
|---|---|
| DeviceLinkStart(string, string, string, TimeSpan) | Initializes a new instance of the DeviceLinkStart class. |
Properties
| Name | Description |
|---|---|
| Code | Gets the short code that the new device shows and the user types on a device where they are signed in, such as |
| Id | Gets the ID of the link, which the new device presents together with PollSecret to check the link's status. |
| Lifetime | Gets how long the link waits for approval after the service started it. Counted from when the client receives the link, it ends later than on the service by the time the response took to arrive, and does not depend on the client's clock. |
| PollSecret | Gets the secret that the new device presents together with Id to check the link's status. |