# disposeCertificateHandlerOnDispose

> If true, any CertificateHandler attached to this UnityWebRequest will have CertificateHandler.Dispose called automatically when UnityWebRequest.Dispose is called.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Networking](/engine/6000.3/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

```csharp
public bool disposeCertificateHandlerOnDispose { get; set; }
```

### Remarks

Default: true.

If no [CertificateHandler](/engine/6000.3/script-reference/unityengine/networking/certificatehandler.md) is attached to this [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md), this property has no effect.
