Click or drag to resize
SessionHostnameIs Method
Returns TRUE if the Session's target hostname (no port) matches sTestHost (case-insensitively).

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public bool HostnameIs(
	string sTestHost
)

Parameters

sTestHost
Type: SystemString
The host to which this session's host should be compared.

Return Value

Type: Boolean
True if this session is targeted to the specified host.
See Also