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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.KeyManagement Namespace > SecurityKeysInfo Class : KeyLifetime Property
The lifetime of a key. In milliseconds.
Syntax
'Declaration
 
<UnitAttribute("ms")>
<ValueRangeAttribute(0, 1.79769313486232E+308)>
Public Property KeyLifetime As Double
'Usage
 
Dim instance As SecurityKeysInfo
Dim value As Double
 
instance.KeyLifetime = value
 
value = instance.KeyLifetime
[Unit("ms")]
[ValueRange(0, 1.79769313486232E+308)]
public double KeyLifetime {get; set;}
[Unit("ms")]
[ValueRange(0, 1.79769313486232E+308)]
public:
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.

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