NSNetService.TxtRecordData Property

Definition

Gets or sets the TXT record data for the network service.

public virtual Foundation.NSData TxtRecordData { get; set; }
public virtual Foundation.NSData? TxtRecordData { get; set; }
member this.TxtRecordData : Foundation.NSData with get, set

Property Value

The TXT record data, or null if no TXT record is set.

Remarks

The TXT record contains additional information about the service in the form of key-value pairs.

When setting the value, the return value from SetTxtRecordData(NSData) is ignored.

Applies to