سؤال

I want to write a small little application that will copy some embedded files to a location identified within a registry key.

I want the application to look for that key, and if it finds it, copy the files. Otherwise tell the user that they must perform some other action first.

But I have no idea how to access a Registry Key from C#. Any suggestions on where to start?

هل كانت مفيدة؟

المحلول

For registry queries / manipulation you can use the Registry class.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top