05 2013 档案

摘要:1 class PermissiveCertificatePolicy 2 { 3 string subjectName; 4 static PermissiveCertificatePolicy currentPolicy; 5 PermissiveCertificatePolicy(string subjectName) 6 { 7 this.subjectName = subjectName; 8 ServicePointManager.ServerCertifi... 阅读全文
posted @ 2013-05-22 11:31 虫虫飞520 阅读(256) 评论(0) 推荐(0)
摘要:----------------------源代码static void Main() { // WARNING: This code is only needed for test certificates such as those created by makecert. It is // not recommended for production code. PermissiveCertificatePolicy.Enact("CN = WIN-85QBE2LGCIQ"); // Create a client with given client endpoint 阅读全文
posted @ 2013-05-22 10:53 虫虫飞520 阅读(499) 评论(0) 推荐(0)
摘要:public class OPVcDll { #region 对USB接口的使用(PHILIPH卡) [DllImport("dcrf32.dll")] public static extern int dc_init(Int16 port, long baud); //初试化 [DllImport("dcrf32.dll")] public static extern short dc_exit(int icdev); [DllImport("dcrf32.dll")] public static extern short dc_r 阅读全文
posted @ 2013-05-15 16:11 虫虫飞520 阅读(6602) 评论(1) 推荐(0)