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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.KeyManagement Namespace > SecurityKeysInfo Class : TimeToNextKey Property
The time before the current key is expected to expire. In milliseconds.
Syntax
'Declaration
 
<UnitAttribute("ms")>
<ValueLimitsAttribute(0, 1.79769313486232E+308)>
Public Property TimeToNextKey As Double
'Usage
 
Dim instance As SecurityKeysInfo
Dim value As Double
 
instance.TimeToNextKey = value
 
value = instance.TimeToNextKey
[Unit("ms")]
[ValueLimits(0, 1.79769313486232E+308)]
public double TimeToNextKey {get; set;}
[Unit("ms")]
[ValueLimits(0, 1.79769313486232E+308)]
public:
property double TimeToNextKey {
   double get();
   void set (    double value);
}

Property Value

Unit of measurement is ms.

The default value of this property is 0.

Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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