QuickOPC User's Guide and Reference
ServerDescriptor Constructor(String,NetworkSecurity)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > ServerDescriptor Class > ServerDescriptor Constructor : ServerDescriptor Constructor(String,NetworkSecurity)
Initializes a new instance of the ServerDescriptor class.Initializes a new instance of the class, with specified server class (ProgID) or a URL string, and network security.
Syntax
'Declaration
 
<CLSCompliantAttribute(False)>
Public Function New( _
   ByVal descriptorString As String, _
   ByVal networkSecurity As NetworkSecurity _
)
'Usage
 
Dim descriptorString As String
Dim networkSecurity As NetworkSecurity
 
Dim instance As New ServerDescriptor(descriptorString, networkSecurity)
[CLSCompliant(false)]
public ServerDescriptor( 
   string descriptorString,
   NetworkSecurity networkSecurity
)
[CLSCompliant(false)]
public:
ServerDescriptor( 
   String^ descriptorString,
   NetworkSecurity^ networkSecurity
)

Parameters

descriptorString
networkSecurity
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

ServerDescriptor Class
ServerDescriptor Members
Overload List