-
-
Save jrob5756/b7c031342e6de22a10a66113d637395b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class FullUtil | |
{ | |
public static void Run() | |
{ | |
var key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"); | |
var product = key.GetValue("ProductName"); | |
Console.WriteLine($"Hello from .NET Framework on {product}!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment