471,114 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,114 software developers and data experts.

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 1499

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.