Probaby a mix of backwards compatibiity and reliability. I suppose it’s possible (although not likely) that a future version of Windows might not contain an entry for that registry key, whereas the RtlGetVersion method is part of the Windows API so should be more reliable.