
# IWebCookieManager interface

*No description yet.*

```csharp
public interface IWebCookieManager
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddCookie](#addcookie) | `void` |  |
| [Clear](#clear) | `void` |  |
| [GetCookie](#getcookie) | `string` |  |

### AddCookie

*No description yet.*

```csharp
void AddCookie(string argDomain, string argPath, string argName, string argValue, bool argIsSecure, bool argIsHttpOnly, bool argIsSession, long argExpiry);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDomain` | `string` | value |
| `argPath` | `string` | value |
| `argName` | `string` | value |
| `argValue` | `string` | value |
| `argIsSecure` | `bool` | value |
| `argIsHttpOnly` | `bool` | value |
| `argIsSession` | `bool` | value |
| `argExpiry` | `long` | value |

**Returns:** nothing (`void`)

### Clear

*No description yet.*

```csharp
void Clear();
```

**Returns:** nothing (`void`)

### GetCookie

*No description yet.*

```csharp
string GetCookie(string argDomain, string argPath, string argName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDomain` | `string` | value |
| `argPath` | `string` | value |
| `argName` | `string` | value |

**Returns:** `string`

## Returned by

[IWebAppHostModule.CreateCookieManager](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IWebAppHostModule.md#createcookiemanager)
