UtilitiesareOriginsEquivalent Method |
Returns TRUE if two ORIGIN (scheme+host+port) values are functionally equivalent.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static bool areOriginsEquivalent(
string sOrigin1,
string sOrigin2,
int iDefaultPort
)
Public Shared Function areOriginsEquivalent (
sOrigin1 As String,
sOrigin2 As String,
iDefaultPort As Integer
) As Boolean
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:
BooleanTRUE if the two origins are equivalent
See Also