OPC Studio User's Guide and Reference
VersionIndependentProgId Property (ServerElement)



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

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

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 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also