C# Pop3 pop = new Pop3(); pop.Connect("mail.domain.com"); pop.Login("jdoe", "secret"); VB.NET Dim pop As New Pop3() pop.Connect("mail.domain.com") pop.Login("jdoe", "secret")
C# Pop3 pop = new Pop3(); pop.Connect("mail.domain.com"); pop.Login("jdoe", "secret", AuthenticationMethods.Apop); VB.NET Dim pop As New Pop3() pop.Connect("mail.domain.com") pop.Login("jdoe", "secret", AuthenticationMethods.Apop)
C#
pop.Login("jdoe", "secret", AuthenticationMethods.Auto, AuthenticationOptions.PreferSimpleMethods, null);
VB.NET
pop.Login("jdoe", "secret", AuthenticationMethods.Auto, AuthenticationOptions.PreferSimpleMethods, Nothing)
C# pop.Login(null, null, AuthenticationMethods.SaslNtlm); VB.NET pop.Login(Nothing, Nothing, AuthenticationMethods.SaslNtlm)
首款专门用于LOB应用开发的JavaScript框架点击下载>>>
为了模糊技术和艺术之间的界限,Sandpit库使用JavaScript和Canvas 2D元素进行创意编程。
通过GitHub或NPM并内置在ECMAScript 6中,Sandpit仍然使用着一个可能会在1.0版本之前更改的API进行开发。“Sandpit的目标是规范和简化创建编码的过程,利用代码来做漂亮的东西,”文档介绍里提到。“不管是在2D还是3D中,通常都会绘制到Canvas元素中。”Sandpit使用dat.GUI(一个改变JavaScript中的变量的轻量级GUI)来管理设置。
VectorDraw Developer Framework点击下载>>>
微软本月重申,今年将发布两次Windows 10系统升级,这相当于2016年的两倍。但他们对公司的原定目标仍有顾虑。
在11天前澳大利亚举行的微软技术会议上项目管理主管比尔·卡拉古尼斯指出,后续升级将在“Creators Update”之后发布,此更新预计于下月完成并发货。
微软表示,这是Windows 10的发布计划复杂性的一个标志,也是微软的“Windows服务”总体战略。此外,在会议期间卡拉古尼斯还宣布了从去年开始测试的Windows升级分析服务将于3月1日全面开放。
Microsoft Office 365 商业版【在线订购】5套起订,享95折!
Microsoft Office 365 商业协作版【在线订购】5套起订,享95折!
Microsoft Office 365 商业高级版【在线订购】5套起订,享95折!
【文章来源慧都控件,原创不易,转载请注明出处】
DicomEngine.Startup(); using (DicomDataSet ds = new DicomDataSet()) { //Load DICOM File ds.Load(input, DicomDataSetLoadFlags.None); //Initialize J2K Options DicomJpeg2000Options options = ds.DefaultJpeg2000Options; //Set Options options.CompressionControl = DicomJpeg2000CompressionControl.Ratio; options.CompressionRatio = 50; //Add options to the dataset ds.Jpeg2000Options = options; //Change the transfer syntax to J22K ds.ChangeTransferSyntax(DicomUidType.JPEG2000, 2, ChangeTransferSyntaxFlags.MinimizeJpegSize); //Save Dicom file ds.Save(dest, DicomDataSetSaveFlags.None); //Shut down the DICOM engine DicomEngine.Shutdown(); }