- key
- Documentation for this section has not yet been entered.
- value
- Documentation for this section has not yet been entered.
Add a service attribute as a key/value pair.
Service attributes are included as DNS-SD TXT record pairs.
The key must be US-ASCII printable characters, excluding the '=' character. Values may be UTF-8 strings or null. The total length of key + value must be less than 255 bytes.
Keys should be short, ideally no more than 9 characters, and unique per instance of Android.Net.Nsd.NsdServiceInfo. Calling NsdServiceInfo.SetAttribute(string, System.String) twice with the same key will overwrite first value.