468,771 Members | 1,778 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

reading registry value that is a REG_FULL_RESOURCE_DESCRIPTOR returns exception

reading registry through keys to get to key/values,

....
String [] valstr = rksub.GetValueNames();
foreach (String vs in valstr) {
String vstr = rksub.GetValue(vs).ToString(); // EXCEPTION
thrown if 'value' is a //REG_FULL_RESOURCE_DESCRIPTOR; otherwise
string, DWORD, and binary work fine. Binary type returns
// string vstr = 'System.Byte[]'
....

How to read in 'R_F_R_D' reg type? Also, how do you actually determine in C#
what type a value is prior to calling
GetValue(vs) anyway?
Nov 16 '05 #1
0 1459

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Peter John | last post: by
4 posts views Thread by Kevin L | last post: by
5 posts views Thread by Scott M. Lyon | last post: by
3 posts views Thread by Ahmad Jalil Qarshi | last post: by
6 posts views Thread by vovan | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.