# Method Protocols.DNS_SD.Service()->update_txt()

Method update_txt

  ``void` update_txt(`string`|`array`(`string`) `txt`)`

Description

  Updates the TXT record for the service.

Parameter `txt`

  A TXT record with service-specific information. It can be given as a plain string or an array of property assignment strings. To remove an existing TXT record you give an empty string as the argument.