Is there any way in c# to get the version of the currently installed "device pack" (drivers) ?

No, it’s unfortunately not possible with SDK.

It’s not available via the SDK but can be retrieved through the registry in a pinch. Here’s an example for retrieving the “C-code” device pack version and installation path:

public static class InstalledDevicePack
{
    public static string GetVersion()
    {
        return Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VideoOS\DeviceDrivers", "VersionC",
            null) as string;
    }
 
    public static string GetInstallPath()
    {
        return Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VideoOS\DeviceDrivers", "InstallPath",
            null) as string;
    }
}

Perhaps not ideal - but the individual driver has a text field with some version information:

OK! I gues the registry values mentioned above is only available if you are on the computer running the server. So checking the database is a better solution in this case. Can we assume that the format is allways “DevicePack: number.number.letter”

Right now the version is formatted as number.numberletter - I cant ensure we will stay this way, but is has for many years.

Not sure what you are intending to check, but could revision be used instead?