摘要:
Bitmap => byte[] Bitmap b = new Bitmap( "test.bmp "); MemoryStream ms = new MemoryStream(); b.Save(ms,System.Drawing.Imaging.ImageFormat.Bmp); byte[] 阅读全文
摘要:
最近在做一个WPF项目时,部分电脑出现了Exception has been thrown by the target of an invocation的异常 (再次遇见,之前是winform)。 原因分析: Windows 平台启用了FIPS验证加密算法,而代码中使用System.Security 阅读全文