Constructor DeviceLinkStart
DeviceLinkStart(string, string, string, TimeSpan)
Initializes a new instance of the DeviceLinkStart class.
Declaration
public DeviceLinkStart(string id, string code, string pollSecret, TimeSpan lifetime)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The ID of the link. |
| string | code | The short code that the new device shows. |
| string | pollSecret | The secret that the new device checks the link's status with. |
| TimeSpan | lifetime | How long the link waits for approval after it started. |