API Reference
Class
DmarcRecord
Represents a parsed DMARC TXT record.
Inheritance
- Object
- DmarcRecord
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method DmarcRecord.TryParse
Constructors
public DmarcRecord(IReadOnlyDictionary<String, String> tags) #Initializes a new instance of the DmarcRecord class.
Parameters
- tags System.Collections.Generic.IReadOnlyDictionary{System.String,System.String}
- Tags parsed from the record.
Methods
public static Boolean TryParse(String record, out DmarcRecord result) #Returns:
BooleanAttempts to parse a DMARC record.
Parameters
- record System.String
- Raw TXT record.
- result DnsClientX.DmarcRecord@
- Parsed record.
Returns
true if parsing succeeded.
Inherited Methods
Properties
public IReadOnlyDictionary<String, String> Tags { get; } #Gets the record tags.