AsUri Method
AsUri(Uri?)
Configures the NDEF slot to use a URI as the basis for the generated OTP.
C#
public ConfigureNdef AsUri(Uri? uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The URI to program into the NDEF slot. |
Returns
The current ConfigureNdef instance.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown if the configuration builder has already been configured to use text using the AsText(string) method. |