'Declaration
<ExtensionAttribute()> Public Overloads Shared Function RemoveOwnCertificate( _ ByVal application As IEasyUAClientServerApplication, _ ByVal mustExist As Boolean _ ) As Boolean
'Usage
Dim application As IEasyUAClientServerApplication Dim mustExist As Boolean Dim value As Boolean value = IEasyUAClientServerApplicationExtension.RemoveOwnCertificate(application, mustExist)
[Extension()] public static bool RemoveOwnCertificate( IEasyUAClientServerApplication application, bool mustExist )
[Extension()] public: static bool RemoveOwnCertificate( IEasyUAClientServerApplication^ application, bool mustExist )
Parameters
- application
- The OPC UA client/server application object that will perform the operation.
In client applications, this is typically obtained by calling System.IServiceProvider.GetService(System.Type) on the OpcLabs.EasyOpc.UA.IEasyUAClient (
EasyUAClient
object) with the type of OpcLabs.EasyOpc.UA.Application.IEasyUAClientServerApplication as an argument.The value of this parameter cannot be
null
(Nothing
in Visual Basic). - mustExist
- Determines whether the certificate must be present in the certificate store.