Using the Devart.Data.PostgreSql.dll assembly in a PowerShell 7 script?

Using the Devart.Data.PostgreSql.dll assembly in a PowerShell 7 script?

I am trying to use a licensed Devart.Data.PostgreSql.dll in a PowerShell 7 script (there is no exe or dll file involved)

It works with Windows PowerShell 5.1 without having to provide any addition license information but I cannot use the .NET Standard 2.0 assembly with PowerShell 7 due to licensing issues.

Where do I have to place the license key?

I have tried including it in the connections string like

Host=localhost;Port=5432;User Id=postgres;Password=!%abc;Character Set=Utf8;License Key=1111-0000-001"

but this didn't work.

Kind regards,
Peter