Link to home
Start Free TrialLog in
Avatar of dotnet22
dotnet22

asked on

get valuetype of registry

Is there a way to retrieve the type of the registry value? I found this

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/reggetvalue.asp

but the requirements are as follows

Requires Windows Vista or Windows XP Professional x64 Edition.

I need a solution that will work on windows xp, 98 etc.  I have searched and have not been able to find anything... It must be doable since regedit shows the datatype? If there is a component out there that can do the job great. Or a function or something? I just want to see which datatype it is i.e

REG_BINARY       
REG_DWORD       
REG_DWORD_LITTLE_ENDIAN       
REG_DWORD_BIG_ENDIAN       
REG_EXPAND_SZ       
REG_LINK       
REG_MULTI_SZ       
REG_NONE       
REG_QWORD       
REG_QWORD_LITTLE_ENDIAN       
REG_SZ

Note: I will be using or calling the final solution from  C#
ASKER CERTIFIED SOLUTION
Avatar of razvaR
razvaR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial