Opc.Ua.Core
CalculateSecurityLevel Method (SecuredApplication)



Opc.Ua.Security Namespace > SecuredApplication Class : CalculateSecurityLevel Method
Calculates the security level, given the security mode and policy Invalid and none is discouraged Just signing is always weaker than any use of encryption
Syntax
'Declaration
 
Public Shared Function CalculateSecurityLevel( _
   ByVal mode As MessageSecurityMode, _
   ByVal policyUri As String _
) As Byte
'Usage
 
Dim mode As MessageSecurityMode
Dim policyUri As String
Dim value As Byte
 
value = SecuredApplication.CalculateSecurityLevel(mode, policyUri)
public static byte CalculateSecurityLevel( 
   MessageSecurityMode mode,
   string policyUri
)
public:
static byte CalculateSecurityLevel( 
   MessageSecurityMode mode,
   String^ policyUri
) 

Parameters

mode
policyUri
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SecuredApplication Class
SecuredApplication Members