上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 控制台应用程序 启动选项->命令行参数" 指定为任意字符串,如: "/cxxx" 命令行编译:csc service1.cs cmd 命令行状态 service1.exe /xxx EditPlus 阅读全文
posted @ 2017-10-30 11:27 hi..... 阅读(187) 评论(0) 推荐(0) 编辑
摘要: using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; namespace DingDangSDK { ... 阅读全文
posted @ 2017-10-19 15:25 hi..... 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 果是非https网页,在http协议下通过html5原生定位接口会返回错误,也就是无法正常定位到用户的具体位置,而已经支持https的网站则不会受影响。 目前提供的解决方案: 1、将网站的http设置为Https。 2、通过第三方解决,这也是我目前使用的方法。 首先看下代码差异: 1、在页面引入js 阅读全文
posted @ 2017-10-19 13:40 hi..... 阅读(803) 评论(0) 推荐(0) 编辑
摘要: MessageBox.Show(GetTime(1508381207810.627).ToString("yyyy-MM-dd HH:mm:ss fff") + ""); <script type="text/javascript"> window.onload = function () { va 阅读全文
posted @ 2017-10-19 11:53 hi..... 阅读(362) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { var concurrentDictionary = new ConcurrentDictionary(); var dictionary = new Dictionary(); var sw = new Stopwatch(); sw.Start(); for (int i = 0;... 阅读全文
posted @ 2017-10-13 16:03 hi..... 阅读(329) 评论(0) 推荐(0) 编辑
摘要: using GDIPrinterDriver; using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; 阅读全文
posted @ 2017-10-13 15:34 hi..... 阅读(137) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Drawing; using System.Drawing.Printing; using System.Printing; using System.Runtime.InteropServices; namespace ConsoleAppli 阅读全文
posted @ 2017-10-13 15:30 hi..... 阅读(189) 评论(0) 推荐(0) 编辑
摘要: class Interop { public static void CreateProcess(string app, string path) { bool result; IntPtr hToken = WindowsIdentity.GetCurrent().Token; IntPtr hD 阅读全文
posted @ 2017-10-13 15:11 hi..... 阅读(216) 评论(0) 推荐(0) 编辑
摘要: protected override void OnSessionChange(SessionChangeDescription changeDescription) { System.IO.File.AppendAllLines(@"D:\INX.TXT", new List { DateTime.Now.ToString() + " ------... 阅读全文
posted @ 2017-10-13 11:37 hi..... 阅读(379) 评论(0) 推荐(0) 编辑
摘要: if (args.Length == 0) { ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new MyService1() }; ServiceBase.Run(ServicesToRun); ... 阅读全文
posted @ 2017-10-13 10:32 hi..... 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页