Hi Jon
Thank you very much for your reply. Here what I am trying to do is, to get
the start menu programs list from the registry location
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr ent Version\Explorer\Menu
Order\Start Menu\Programs"
Here for each start menu program I have to retrieve its "Order" value which
in REG_BINARY and convert that into normal text. I hope you understood what
I am trying to do. Please assist me in getting this solved.
Thanking you in advance.
Regards
Vighneswar
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP***********************@msnews.microsoft.co m...
vighnesh <vi******@nannacomputers.comwrote:
>Thank you very much for your reply. Its my gesture that the REG_BINARY is
ASCII encoded text.
No, REG_BINARY is arbitrary binary data.
>Can you please let me know how to know the encoding of
REG_BINARY value. The System.Encoding.ASCII.GetString() didn't work for
me.
In that case the binary data you're trying to decode isn't just an
ASCII-encoded string.
Now, you could convert the binary data to its hex representation, if
that would be useful - but without more information about what you're
trying to do (i.e. what the data really is), it's hard to say exactly
how you should do it.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too