Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry?
Permission to Read Registry? Permission to Read Registry?
Permission to Read Registry?
Go Back  Xtreme Visual Basic Talk > > > Permission to Read Registry?


Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2014, 05:56 AM
bobcory's Avatar
bobcory bobcory is offline
Contributor
 
Join Date: Jun 2003
Location: NW UK
Posts: 454
Question Permission to Read Registry?


I may be up a gum tree here (not unusal) but I am trying to read the Microsoft Cryptogrphy Key and it seems that to do that my user(s) will probably need to log on as Administrators which seems a little excessive (read it - not change it so why the big deal?)

It used to live here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG

But these days it is living in a better neighbourhood, namely here:
HKEY_LOCAL_MACHINE\SYSTEM\RNG

This screws up any old programs that used it of course but who are we to stand in the way of progress?

I am trying to read it using:
My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SYSTEM\RNG", "Seed", Nothing)

but it refuses access.

There is an article here that deals with permissions but I will die of old age before I manage to read and absorb all this:
http://msdn.microsoft.com/en-us/libr...=vs.71%29.aspx

So, is there a simple way to do this?
__________________
MOPEKS - a freeware program that generates programs that use each other to solve problems. Is this the correct route to a genuinely intelligent machine?
.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry? Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry? Permission to Read Registry?
Permission to Read Registry?
Permission to Read Registry?
 
Permission to Read Registry?
Permission to Read Registry?
 
-->