# IsConsentOptIn

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

Returns "consent opt-in status" returned by our server rules. Only returns meaningful information after the rules are downloaded.

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

```csharp
IsConsentOptIn(ame)
```

**returns&#x20;**_**bool**_**&#x20;Consent opt-in status.**

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

<pre class="language-csharp"><code class="lang-csharp"><strong>IsConsentOptIn();
</strong></code></pre>
