There is no standardized way in OPC Classic to pre-obtain array dimensions. You need to read the array or subscribe to it in order to obtain array dimensions.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows