using System; using System.IO; namespace PCL.Core.Utils.OS; public static class SystemPaths { /// /// 系统盘符(含冒号和反斜杠),例如 "C:\"。 /// public static string DriveLetter { get; } = Path.GetPathRoot(Environment.SystemDirectory)!; }