# ValidTo Property

## Overloads

| [ValidTo](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.Services.Certificate.ICertSettings.ValidTo.htm#PIX_Services_Certificate_ICertSettings_ValidTo) |  | When generating a new cert, for how long should it be valid? |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.Certificate.ICertSettings.ValidTo.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.Certificate.ICertSettings.ValidTo.htm)

## ValidTo

When generating a new cert, for how long should it be valid?

### Declaration

```

          DateTime ValidTo { get; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.DateTime |  |