OPC Studio User's Guide and Reference
KeyLifetime Property (_SecurityKeysInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.KeyManagement.ComTypes Namespace > _SecurityKeysInfo Interface : KeyLifetime Property
The lifetime of a key. In milliseconds.
Syntax
'Declaration
 
Property KeyLifetime As Double
'Usage
 
Dim instance As _SecurityKeysInfo
Dim value As Double
 
instance.KeyLifetime = value
 
value = instance.KeyLifetime
double KeyLifetime {get; set;}
property double KeyLifetime {
   double get();
   void set (    double value);
}

Property Value

Valid values of this property are in the range from 0 to 1.79769313486232E+308 (Double.MaxValue).

Unit of measurement is ms.

The default value of this property is 0.

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also