AWS SDK Version 4 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 CleanSession System.Nullable<System.Boolean>

Gets and sets the property CleanSession.

Indicates whether the client is using a clean session. Returns true for clean sessions.

Public Property ClientId System.String

Gets and sets the property ClientId.

The unique identifier of the MQTT client.

Public Property Connected System.Nullable<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 that the client is disconnected.

Public Property KeepAliveDuration System.Nullable<System.Int32>

Gets and sets the property KeepAliveDuration.

The keep-alive interval in seconds that the client specified when establishing the connection.

Public Property SessionExpiry System.Nullable<System.Int64>

Gets and sets the property SessionExpiry.

The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.

Public Property Timestamp System.Nullable<System.Int64>

Gets and sets the property Timestamp.

The epoch time (in milliseconds) when the thing last connected or disconnected.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer