Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C Sharp
RegistryKey -> IntPtr
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Brian Keating
#1
RegistryKey -> IntPtr
Nov 17 '05, 01:42 AM
Hi there anyone know to the get the native registry Handle from a RegistryKey?
thanks in advance
Shortgrey
#2
Nov 17 '05, 01:42 AM
Re: RegistryKey -> IntPtr
public static IntPtr GetRegistryHand le(RegistryKey registryKey)
{
Type type = registryKey.Get Type();
FieldInfo fieldInfo = type.GetField(" hkey", BindingFlags.In stance |
BindingFlags.No nPublic);
return (IntPtr)fieldIn fo.GetValue(reg istryKey);
}
Brian Keating wrote:[color=blue]
> Hi there anyone know to the get the native registry Handle from a RegistryKey?
>
> thanks in advance[/color]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment