使用 C# 获取磁盘空间的方法: public async static Task<int> GetFreeSpace() { StorageFolder localFolder = ApplicationData.Current.LocalFolder; var properties = await localFolder.GetBasicPropertiesAsync(); var filteredProperties = await properties.RetrieveProperti…