The big difference is that {Access=>KEY_READ} means that you don't have to have KEY_WRITE access to all of the registry keys involved.
If you access multiple items from the same machine, then it is best (more efficient, much faster in the face of failures) to open some key that is above all of the items to be checked (perhaps just "//$computer/"). But I see no advantage at all to using GetValue() (that'd simply be a style issue).
- tye (but my friends call me "Tye")In reply to (tye)Re: TieRegistry etiquette/performance question.
by tye
in thread TieRegistry etiquette/performance question.
by Marza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |