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 |
---|---|---|
System.String | text | The text to program into the NDEF slot. |
Returns
The current ConfigureNdef instance.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception is thrown if the configuration build has already been configured to use a URI using the AsUri(Uri) method. |