Show / Hide Table of Contents

CreateTextConfig Method

CreateTextConfig(string, string, bool)

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
string value

The text value to send.

string languageCode

The ISO/IANA language code for the language of value.

bool encodeAsUtf16

Indicates whether UTF16 Big Endian encoding is preferred. Default is false, denoting a UTF8 encoding.

Returns

byte[]

An opaque configuration buffer that can be written to the YubiKey using the ConfigureNdefCommand command class.

In this article
Back to top Generated by DocFX