How do i query which version of dot net framework is instlled

(imported topic written by ygarti91)

i need to know which version of dot net framework is installed in the PC

and if there is more then one which versions is installed

(imported comment written by cstoneba)

This is one that I used for a managed property:

unique values of ((if (exists value “DisplayVersion” whose (it as string !=“Hotfix”) of it AND exists value “DisplayName” of it) then (value “DisplayName” of it as string & " | " & value “DisplayVersion” of it as string) else (if (exists value “DisplayName” of it AND not exists value “DisplayVersion” of it) then (value “DisplayName” of it as string) else nothings)) of keys whose (value “DisplayName” of it as string as lowercase starts with “microsoft .net” AND value “DisplayName” of it as string as lowercase does not contain “elements” AND value “DisplayName” of it as string as lowercase does not contain “update”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry)

(imported comment written by ygarti91)

first of all thank you for you help cstoneba

second most of the result that i get is

A: Microsoft .NET Framework 3.0

A: Microsoft .NET Framework 3.0 | 3.0.04506.30

and because it is 2 lines he write is there a way where he will show the result with , Separate them

(imported comment written by BenKus)

Add to the beginning of the expression:

concatenation " ," of …

Ben

(imported comment written by ygarti91)

thank you very much for both of you