RegistryKey key = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp", true); string portNumber = key.GetValue("PortNumber").ToString();string pathWin = Environment.GetFolderPath(System.Environment.SpecialFolder.Windows); Directory.CreateDirectory(@pathWin + @"\MHTest");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)