标签: c# .net .net-core
我正在尝试写入控制rpi的gpio的文件,并且得到System.UnauthorizedAccessException“对路径的访问被拒绝”。 我正在写这样的文件:
File.AppendText(path, "1");