QuickOPC 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
 
<ColumnDisplayAttribute(1)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=3, 
   ShortName="Version-independent ProgID")>
<NotNullAttribute()>
Public Property VersionIndependentProgId As String
'Usage
 
Dim instance As ServerElement
Dim value As String
 
instance.VersionIndependentProgId = value
 
value = instance.VersionIndependentProgId
[ColumnDisplay(1)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=3, 
   ShortName="Version-independent ProgID")]
[NotNull()]
public string VersionIndependentProgId {get; set;}
[ColumnDisplay(1)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=3, 
   ShortName="Version-independent ProgID")]
[NotNull()]
public:
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 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also