API Reference
Class
BannerResult
Result of a banner check.
Inheritance
- Object
- BannerResult
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property SMTPBannerAnalysis.ServerResults
Constructors
public BannerResult() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Banner { get; set; } #Initial banner line returned by the server.
public Boolean HostnameMatch { get; set; } #True when ExpectedHostname is found in the banner.
public Boolean SoftwareMatch { get; set; } #True when ExpectedSoftware is found in the banner.
public Boolean StartsWith220 { get; set; } #True when banner begins with the 220 greeting code.
public Boolean ContainsDomain { get; set; } #True when banner contains a domain name after the greeting code.
public Boolean ValidFormat { get; set; } #True when the banner conforms to RFC 5321 format.
public Nullable<Int32> GreetingCode { get; set; } #Parsed greeting code (e.g., 220), when available.
public String ServerDomain { get; set; } #Domain or host extracted from the banner, if present.
public Boolean Truncated { get; set; } #True when the banner was truncated to the maximum allowed size.
public Nullable<Int32> ResponseTimeMs { get; set; } #Milliseconds between connect and first banner line.
public Boolean TlsAdvertised { get; set; } #True when banner mentions TLS capability.