Forum Discussion
ArtemS
13 years agoSmartBear Alumni (Retired)
Hi Shanmugavel,
To get the version of the installed .Net Framework, you can use the OSInfo.NetCoreVersion property:
The version of Java Runtime Environment can be retrieved from the registry (the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion key):
Best regards,
Artem
To get the version of the installed .Net Framework, you can use the OSInfo.NetCoreVersion property:
netVer = Sys.OSInfo.NetCoreVersion(Sys.OSInfo.NetCoreCount - 1)
The version of Java Runtime Environment can be retrieved from the registry (the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion key):
jreVer = Storages.Registry("Software\\JavaSoft\\Java Runtime Environment", HKEY_LOCAL_MACHINE, 0, true ).GetOption("CurrentVersion", "not specified");
Best regards,
Artem