Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET File I/O and Registry (http://www.xtremevbtalk.com/-net-file-i-o-and-registry/)
-   -   Permission to Read Registry? (http://www.xtremevbtalk.com/-net-file-i-o-and-registry/327261-permission-read-registry.html)

bobcory 09-12-2014 05:56 AM

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:

But these days it is living in a better neighbourhood, namely here:

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:

So, is there a simple way to do this?

All times are GMT -6. The time now is 10:36 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.