QuickOPC User's Guide and Reference
KeyLifetime Property (SecurityGroupElement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.KeyManagement.Configuration Namespace > SecurityGroupElement Class : KeyLifetime Property
The lifetime of a key in milliseconds.
Syntax
'Declaration
 
<DefaultValueAttribute(0)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=4, 
   ShortName="Key Lifetime")>
<UnitAttribute("ms")>
Public Property KeyLifetime As Double
'Usage
 
Dim instance As SecurityGroupElement
Dim value As Double
 
instance.KeyLifetime = value
 
value = instance.KeyLifetime
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=4, 
   ShortName="Key Lifetime")]
[Unit("ms")]
public double KeyLifetime {get; set;}
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=4, 
   ShortName="Key Lifetime")]
[Unit("ms")]
public:
property double KeyLifetime {
   double get();
   void set (    double value);
}
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