Skip to content

Commit 72dad6e

Browse files
Merge pull request #292672 from gsteve88/howto-messaging-formatting-edits
Formatting edits to .NET/C# section
2 parents ad7e8b1 + 67ce3fb commit 72dad6e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

articles/iot-hub/how-to-cloud-to-device-messaging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Send cloud-to-device messages
33
titleSuffix: Azure IoT Hub
4-
description: How to send cloud-to-device messages from a back-end app and receive them on a device app using the Azure IoT SDKs for C#, Python, Java, Node.js, and C.
4+
description: How to send cloud-to-device messages from a back-end app and receive them on a device app using the Azure IoT SDKs for C#, Python, Java, and Node.js.
55
author: kgremban
66
ms.author: kgremban
77
ms.service: azure-iot-hub
88
ms.topic: how-to
9-
ms.date: 12/19/2024
9+
ms.date: 1/6/2025
1010
zone_pivot_groups: iot-hub-howto-c2d-1
1111
ms.custom: [amqp, mqtt, "Role: Cloud Development", "Role: IoT Device"]
1212
---

includes/iot-hub-howto-cloud-to-device-messaging-dotnet.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ms.author: kgremban
44
ms.service: azure-iot-hub
55
ms.devlang: csharp
66
ms.topic: include
7-
ms.date: 12/19/2024
7+
ms.date: 1/6/2025
88
ms.custom: [amqp, mqtt, "Role: Cloud Development", "Role: IoT Device", devx-track-csharp, devx-track-dotnet]
99
---
1010

@@ -41,8 +41,6 @@ A device app can authenticate with IoT Hub using the following methods:
4141

4242
The [DeviceClient](/dotnet/api/microsoft.azure.devices.client.deviceclient) class exposes all the methods required to receive messages on the device.
4343

44-
### Supply the connection parameters
45-
4644
Supply the IoT Hub primary connection string and Device ID to `DeviceClient` using the [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.client.deviceclient.createfromconnectionstring) method. In addition to the required IoT Hub primary connection string, the `CreateFromConnectionString` method can be overloaded to include these *optional* parameters:
4745

4846
* `transportType` - The transport protocol: variations of HTTP version 1, AMQP, or MQTT. `AMQP` is the default. To see all available values, see [TransportType Enum](/dotnet/api/microsoft.azure.devices.client.transporttype).
@@ -184,8 +182,6 @@ You can connect a backend service to IoT Hub using the following methods:
184182

185183
#### Connect using a shared access policy
186184

187-
##### Supply the connection string
188-
189185
Connect a backend application to a device using [CreateFromConnectionString](/dotnet/api/microsoft.azure.devices.serviceclient.createfromconnectionstring). In addition to the required IoT Hub primary connection string, the `CreateFromConnectionString` method can be overloaded to include these *optional* parameters:
190186

191187
* `transportType` - `Amqp` or `Amqp_WebSocket_Only`.

0 commit comments

Comments
 (0)