Click or drag to resize
UtilitiesareOriginsEquivalent Method
Returns TRUE if two ORIGIN (scheme+host+port) values are functionally equivalent.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static bool areOriginsEquivalent(
	string sOrigin1,
	string sOrigin2,
	int iDefaultPort
)

Parameters

sOrigin1
Type: SystemString
The first ORIGIN
sOrigin2
Type: SystemString
The second ORIGIN
iDefaultPort
Type: SystemInt32
The default port, if a port is not specified

Return Value

Type: Boolean
TRUE if the two origins are equivalent
See Also