You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SysInfo/5/API/TPJOSInfo-Product.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ type TPJOSProduct = (
22
22
osWin10, osWin10Svr, // defined in v5.1 and later
23
23
osWinSvr2019, // defined in v5.4 and later
24
24
osWin11, osWinSvr2022, // defined in v5.6 and later
25
-
osWinServer // defined in v5.9 and later
25
+
osWinServer, // defined in v5.9 and later
26
+
osWinSvr2025, osWinSvrLater // defined in v5.31 and later
26
27
);
27
28
```
28
29
@@ -54,7 +55,9 @@ Returns a value from the _TPJOSProduct_ enumeration that identifies the operatin
54
55
|`osWinSvr2019`[~>5.4]| Windows 2019 Server. † |
55
56
|`osWinSvr2022`[~>5.6]| Windows 2022 Server. † |
56
57
|`osWinServer`[~>5.9]| Windows 2022 Server. † |
58
+
|`osWinSvr2025`[~>5.31]| Windows 2025 Server. † |
57
59
|`osWinLater`| An unknown version of Windows released after the most recent version of Windows identified above. |
60
+
|`osWinSvrLater`[~>5.31]| An unknown version of Windows released after the most recent version of Windows identified above. |
58
61
|`osUnknownWinNT`| An unknown product on the Windows NT platform. |
59
62
|`osUnknownWin9x`| An unknown product on the Windows 9x platform. |
60
63
|`osUnknownWin32s`| An operating system running on the Win32s platform. |
@@ -66,4 +69,4 @@ On operating systems where _[CanSpoof](./TPJOSInfo-CanSpoof.md)_ returns `False`
66
69
67
70
To find the string representation of the product name use the _[ProductName](./TPJOSInfo-ProductName.md)_ method.
68
71
69
-
> † ⚠️ From Windows 8.1 / Win dows Server 2012 R 2 onwards, the correct operating system will only be returned if the host application contains a manifest that includes a compatibility section that contains the GUID that designates the appropriate version of Windows. If there is no such manifest, or the designated Windows version is lower than that of the operating system then _Product_ will return the code for an earlier operating system. This rule applies regardless of the value returned from _[CanSpoof](./TPJOSInfo-CanSpoof.md)_.
72
+
> † ⚠️ From Windows 8.1 / Windows Server 2012 R 2 onwards, the correct operating system will only be returned if the host application contains a manifest that includes a compatibility section that contains the GUID that designates the appropriate version of Windows. If there is no such manifest, or the designated Windows version is lower than that of the operating system then _Product_ will return the code for an earlier operating system. This rule applies regardless of the value returned from _[CanSpoof](./TPJOSInfo-CanSpoof.md)_.
0 commit comments