ZeroconfServices Documation
DataFromTXTRecordDictionary Method (dict)
NamespacesZeroconfServiceNetServiceDataFromTXTRecordDictionary(IDictionary)
Returns a byte[] object representing a TXT record from a given dictionary.
Declaration Syntax
C#Visual BasicVisual C++
public static byte[] DataFromTXTRecordDictionary(
	IDictionary dict
)
Public Shared Function DataFromTXTRecordDictionary ( _
	dict As IDictionary _
) As Byte()
public:
static array<unsigned char>^ DataFromTXTRecordDictionary (
	IDictionary^ dict
)
Parameters
dict (IDictionary)
A dictionary containing a TXT record.
Return Value
A byte[] object representing TXT data formed from dict.
Remarks

The dictionary must contain a set of key / value pairs representing a TXT record.

The key objects must be String (or string) objects. These will be converted to UTF-8 format by this method.

The value objects must be byte[] arrays. If these represent strings, it is highly recommended that they be converted to UTF-8 format.

Assembly: ZeroconfService (Module: ZeroconfService) Version: 0.1.0.0