Show / Hide Table of Contents

AsText Method

AsText(string)

Configures the NDEF slot to use freeform text as the basis for the generated OTP.

C#
public ConfigureNdef AsText(string text)

Parameters

Type Name Description
string text

The text to program into the NDEF slot.

Returns

ConfigureNdef

The current ConfigureNdef instance.

Exceptions

Type Condition
InvalidOperationException

This exception is thrown if the configuration build has already been configured to use a URI using the AsUri(Uri?) method.

In this article
Back to top Generated by DocFX