CookieHandler.MatchCookiePath(Uri, Uri) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual System::String ^ MatchCookiePath(Uri ^ baseUri, Uri ^ targetUri);
C#
public virtual string MatchCookiePath(Uri baseUri, Uri targetUri);
abstract member MatchCookiePath : Uri * Uri -> string
override this.MatchCookiePath : Uri * Uri -> string
Public Overridable Function MatchCookiePath (baseUri As Uri, targetUri As Uri) As String
- baseUri
- Uri
The base URL of the request.
- targetUri
- Uri
The URL to match.
Returns String.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: