Table of Contents

Class MqttUserPropertyExtensions

Namespace
Azure.Iot.Operations.Protocol
Assembly
Azure.Iot.Operations.Protocol.dll

Extension methods for reading MqttUserProperty values.

public static class MqttUserPropertyExtensions
Inheritance
MqttUserPropertyExtensions
Inherited Members

Methods

ReadValueAsString(MqttUserProperty)

Reads the value of the user property as a UTF-8 string.

public static string ReadValueAsString(this MqttUserProperty userProperty)

Parameters

userProperty MqttUserProperty

The user property to read.

Returns

string

The value as a string.