CookieHandler.MatchCookiePath Method (Uri, Uri)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

If the target domain is within the cookie domain and the target path is within the cookie path, match the casing of the cookie path portion.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public virtual string MatchCookiePath(
	Uri baseUri,
	Uri targetUri
)

Parameters

baseUri
Type: System.Uri

The base URL of the request.

targetUri
Type: System.Uri

The URL to match

Return Value

Type: System.String

Returns String.

.NET Framework
Available since 4.5
Return to top
Show: