摘要: 最早的时候App Service被定义为一种后台服务,类似于极简版的Windows Service。App Service作为Background Task在宿主UWP APP中运行,向其他UWP APP提供服务,可用于UWP APP间通讯及交换数据。 早期的App Service应用场景较为单一, 阅读全文
posted @ 2021-01-16 18:18 MaxBruce 阅读(135) 评论(0) 推荐(0)
摘要: async/await是C#5.0中推出的,先上用法: static void Main(string[] args) { Console.WriteLine(" 主线程启动 "); Task<int> task = GetStrLengthAsync(); Console.WriteLine("主 阅读全文
posted @ 2021-01-16 08:33 MaxBruce 阅读(462) 评论(0) 推荐(0)
摘要: vs2012 winform 连接摄像头设备,这里需要引入 代码: using AForge; using AForge.Controls; using AForge.Imaging; using AForge.Video; using AForge.Video.DirectShow; 在工具箱中还 阅读全文
posted @ 2021-01-16 07:45 MaxBruce 阅读(560) 评论(0) 推荐(0)