当我
原文链接:https://www.f2er.com/windows/371968.htmlusing (var process = new Process { StartInfo = new ProcessStartInfo { FileName = "powercfg.exe",Arguments = "-energy",RedirectStandardOutput = true,UseShellExecute = false,} }) { process.Start(); process.WaitForExit(); }
它输出:
A biblioteca de Diagnóstico de Eficiência de Consumo de Energia (energy.dll) não
pôde ser carregada.
翻译成英文:
The Energy Consumption Efficiency Diagnostic library (energy.dll) couldn’t be loaded.
即使以管理员身份运行