AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The connectivity status of the thing.

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.ThingConnectivity

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class ThingConnectivity

The ThingConnectivity type exposes the following members

Constructors

NameDescription
Public Method ThingConnectivity()

Properties

NameTypeDescription
Public Property Connected System.Boolean

Gets and sets the property Connected.

True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.

Public Property DisconnectReason System.String

Gets and sets the property DisconnectReason.

The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the disconnectReason value might be missing.

Public Property Timestamp System.Int64

Gets and sets the property Timestamp.

The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5