# ShowConsentDialogIfNeeded

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Presents the consent screen only if it is required by the used CMP (for example if no user consent has been set yet). It is advised to always call this method when the app starts.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```csharp
ShowConsentDialogIfNeeded()
```

**returns&#x20;**_**void**_

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```csharp
AATKitBinding.ShowConsentDialogIfNeeded();
```
