Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: C# - Registry Problem
01-18-2003, 03:25 PM #1
- Join Date
- Jul 2002
- San Diego, CA
- Thanked 0 Times in 0 Posts
C# - Registry Problem
I can do EVERYTHING on the box, except gather Value Data for non-string types. I can connect, drill-down, display all the keys, etc. The ONLY problem is gathering Value Data for Value Names that do not hold string values. I am not sure how to get that information, so I have resorted to a lot of string conversions, and I am sure there is something incorrect there. For instance, if I have already drilled down to the key I need information from, and want to get the Value Data from a Value Name called "Info" or something, I am doing this:
object valueData = myKey.GetValue("Info");
This is obviously wrong, because I am 100% positive the Value Name holds data, but it still returns "System.String". I am simply trying to find out how to gather the Value Data once I am at this point.