public enum ClrVersionPublic Enumeration ClrVersionThis enum supports the PlatformUtilities.GetComMetadata method, which is only available in projects targeting .NET 8 and later.
| Unknown | 0 | Native (unmanaged) DLL, or the CLR version could not be determined. |
| Clr1 | 1 | CLR v1.x (.NET Framework 1.0 / 1.1). |
| Clr2 | 2 | CLR v2.x (.NET Framework 2.0 / 3.0 / 3.5). |
| Clr4 | 4 | CLR v4.x (.NET Framework 4.x and all modern .NET versions: 5, 6, 7, 8, 9, 10+). |