Class CookiePartitionKey
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Cookie partition key.
public class CookiePartitionKey : IEquatable<CookiePartitionKey>
- Inheritance
-
CookiePartitionKey
- Implements
Properties
HasCrossSiteAncestor
Indicates if the cookie has any ancestors that are cross-site to the topLevelSite. Supported only in Chrome.
public bool? HasCrossSiteAncestor { get; set; }
Property Value
- bool?
SourceOrigin
The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. In Chrome, maps to the CDP's topLevelSite partition key.
public string SourceOrigin { get; set; }
Property Value
Methods
Equals(CookiePartitionKey)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CookiePartitionKey other)
Parameters
otherCookiePartitionKeyAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.