Coding from Scratch | Read and Write Windows 10 Registry | .NET Core, C#

Sdílet
Vložit
  • čas přidán 7. 11. 2020
  • In this video I show you how to read from and write to the Windows 10 registry using C# and a .NET Core console application. The app will read some system information from the HKEY_Local_Machine hive; it will also create a new subkey in the HKEY_Current_User hive and write a value to it.
  • Věda a technologie

Komentáře • 4

  • @hannonadventures
    @hannonadventures Před 3 lety +1

    First like, great vid 😁

  • @chuchotech5513
    @chuchotech5513 Před 2 lety

    Good tutorial but the code is running well when I use visual studio but if I export the exe file and run it on a different computer, it does not show any info. I have also created a project setup and when I execute the installer it says "you are attempting to open a file of type 'system file' (.dll) these are used by the operating system and by various programs, editing and modifying them could damage your system" then the application close and I don't get any data. Any clue how to resolve it?

    • @indierevo3495
      @indierevo3495  Před 2 lety

      Did you build it as Debug or Release? The error might be caused by using a debug version of the executable.