QuickOPC User's Guide and Reference
VersionIndependentProgId Property (_ServerElement)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.ComTypes Namespace > _ServerElement Interface : VersionIndependentProgId Property
Gets or sets version-independent programmatic identifier of the OPC server application.
Syntax
'Declaration
 
<NotNullAttribute()>
Property VersionIndependentProgId As String
'Usage
 
Dim instance As _ServerElement
Dim value As String
 
instance.VersionIndependentProgId = value
 
value = instance.VersionIndependentProgId
[NotNull()]
string VersionIndependentProgId {get; set;}
[NotNull()]
property String^ VersionIndependentProgId {
   String^ get();
   void set (    String^ value);
}
Remarks

VersionIndependentProgId may be empty when unknown, e.g. if obtained through IOPCServerList interface of OPCEnum object which does not provide it, or when registry does not contain that information. In some cases (e.g. when IOPCServerList2 is used, and the VersionIndependentProgID is not available in the registry), the ProgID will be copied to this property.

The VersionIndependentProgID associates a ProgID with a CLSID.

The version-independent ProgID refers to the OPC server's class and does not change from version to version, instead remaining constant across all versions. It refers to the currently installed version of the OPC server's class. The version-independent ProgID corresponds to the name of the latest version of the OPC server application.

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

_ServerElement Interface
_ServerElement Members