CreateTextConfig Method
CreateTextConfig(String, String, Boolean)
Create a configuration buffer for the YubiKey to send text when NDEF is triggered.
C#
public static byte[] CreateTextConfig(string value, string languageCode, bool encodeAsUtf16 = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The text value to send. |
System.String | languageCode | The ISO/IANA language code for the language of |
System.Boolean | encodeAsUtf16 | Indicates whether UTF16 Big Endian encoding is preferred. Default is false, denoting a UTF8 encoding. |
Returns
System.Byte[]
An opaque configuration buffer that can be written to the YubiKey using the ConfigureNdefCommand command class.