Perform a TXT-record lookup.

Namespace:  JHSoftware.SimpleDNS.Plugin
Assembly:  sdnsplugin (in sdnsplugin)
Version: 5.0.110.0 (5.0.110.0)

Syntax

C#
void LookupTXT(
	IPAddress fromIP,
	DomainName lookupName,
	ref string resultText,
	ref int resultTTL
)
Visual Basic (Declaration)
Sub LookupTXT ( _
	fromIP As IPAddress, _
	lookupName As DomainName, _
	ByRef resultText As String, _
	ByRef resultTTL As Integer _
)
Visual C++
void LookupTXT(
	IPAddress^ fromIP, 
	DomainName^ lookupName, 
	String^% resultText, 
	int% resultTTL
)

Parameters

fromIP
Type: System.Net..::.IPAddress
The IP address that the DNS requests originates from.
lookupName
Type: JHSoftware.SimpleDNS.Plugin..::.DomainName
The domain name to lookup.
resultText
Type: System..::.String%
The TXT-record value to return. Set to null/Nothing if no match is found.
resultTTL
Type: System..::.Int32%
The TTL (Time To Live) value to return - in seconds

Remarks

Does not need to be implemented if the SupportsTXT property returns False.

See Also