destroyhead
Programmer
Hi everybody,
I need to retrieve data in the registry.
In order to do that I have got this type of code (example for REG_DWORD) :
outParam = wmiRegistry.InvokeMethod("GetDWORDValue", inParam, null);
if ((uint)outParam["ReturnValue"] == 0)
div1.InnerHtml += outParam["uValue"].ToString() + "<br />";
What I need are the strings for the other types
Here is what I already have :
REG_BINARY --> GetBinaryValue --> uValue (?)
REG_DWORD --> GetDWORDValue --> uValue
REG_DWORD_LITTLE_ENDIAN --> ? --> uValue (?)
REG_DWORD_BIG_ENDIAN --> ? --> uValue (?)
REG_EXPAND_SZ --> GetExpandedStringValue --> ?
REG_LINK --> ? --> ?
REG_MULTI_SZ --> GetMultiStringValue --> sValue (?)
REG_NONE --> ? --> ?
REG_QWORD --> GetQWORDValue --> ?
REG_QWORD_LITTLE_ENDIAN --> GetQWORDValue --> ?
REG_SZ --> GetStringValue --> sValue
If someone can fill one of the missing data, I would greatly appreciate it.
Regards.
Olivier
I need to retrieve data in the registry.
In order to do that I have got this type of code (example for REG_DWORD) :
outParam = wmiRegistry.InvokeMethod("GetDWORDValue", inParam, null);
if ((uint)outParam["ReturnValue"] == 0)
div1.InnerHtml += outParam["uValue"].ToString() + "<br />";
What I need are the strings for the other types
Here is what I already have :
REG_BINARY --> GetBinaryValue --> uValue (?)
REG_DWORD --> GetDWORDValue --> uValue
REG_DWORD_LITTLE_ENDIAN --> ? --> uValue (?)
REG_DWORD_BIG_ENDIAN --> ? --> uValue (?)
REG_EXPAND_SZ --> GetExpandedStringValue --> ?
REG_LINK --> ? --> ?
REG_MULTI_SZ --> GetMultiStringValue --> sValue (?)
REG_NONE --> ? --> ?
REG_QWORD --> GetQWORDValue --> ?
REG_QWORD_LITTLE_ENDIAN --> GetQWORDValue --> ?
REG_SZ --> GetStringValue --> sValue
If someone can fill one of the missing data, I would greatly appreciate it.
Regards.
Olivier