CookiePartitionKey Struct
The partition key of a partitioned cookie (a cookie with the Partitioned attribute, CHIPS, https://github.com/privacycg/CHIPS): the site of the top-level document, and whether the cookie was set in a context with a cross-site ancestor (a cookie partitioned by a top-level site is not available to a same-site iframe that has a cross-site ancestor).
public readonly struct CookiePartitionKey : IEquatable<CookiePartitionKey>- Implements
Properties
| Name | Description |
|---|---|
| HasCrossSiteAncestor | Gets whether the cookie was set in a context with a cross-site ancestor. |
| TopLevelSite | Gets the scheme and the registrable domain of the top-level site (e.g. https://example.com). |
HasCrossSiteAncestor
CookiePartitionKey.csTopLevelSite
CookiePartitionKey.csMethods
| Name | Description |
|---|---|
| Equals(CookiePartitionKey) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(CookiePartitionKey)
public bool Equals(CookiePartitionKey other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(CookiePartitionKey, CookiePartitionKey) | |
| operator !=(CookiePartitionKey, CookiePartitionKey) |
operator ==(CookiePartitionKey, CookiePartitionKey)
public static bool operator ==(CookiePartitionKey left, CookiePartitionKey right)No documentation is available.
operator !=(CookiePartitionKey, CookiePartitionKey)
public static bool operator !=(CookiePartitionKey left, CookiePartitionKey right)No documentation is available.