摘要: 示例代码如下: if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { // Windows 相关逻辑 } else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { // 阅读全文
posted @ 2022-01-11 11:08 青叶煮酒 阅读(2773) 评论(0) 推荐(1) 编辑