Пример #1
0
        public static string GetPwdOfWifi(string wifiName)
        {
            var output = CmdHelper.RunCmdCommand($"/C netsh wlan show profile name=\"{wifiName}\" key=clear | findstr Key");

            return(output.Split(':').Last().Trim());
        }