码迷,mamicode.com
首页 >  
搜索关键字:diagnostics    ( 547个结果
c# 网速监控
class Program { //实例化一个性能计数器,统计网卡流量:发送,字节 private static System.Diagnostics.PerformanceCounter _sendCounter; //实例化一个性能计数器,统计网卡流量:接收,字节 private static ...
分类:Windows程序   时间:2018-06-07 14:07:32    阅读次数:190
谈谈Nancy中让人又爱又恨的Diagnostics【上篇】
原文:谈谈Nancy中让人又爱又恨的Diagnostics【上篇】前言 在Nancy中有个十分不错的功能-Diagnostics,可以说这个功能让人又爱又恨。 或许我们都做过下面这样的一些尝试: 记录某一个功能用到的相关技术信息 记录下网站的访问记录 全局配置某些框架内部功能的开关 ..... 当然... ...
分类:其他好文   时间:2018-05-21 17:59:42    阅读次数:191
20180518VSTO多簿单表汇总外接程序按钮
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Tools.Ribbon; using System.Diagnostics; u... ...
分类:其他好文   时间:2018-05-18 22:19:43    阅读次数:165
C# 计时函数(毫秒)
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; class Program { //调用API函数 [DllImport("kernel32.d... ...
分类:Windows程序   时间:2018-04-28 16:59:09    阅读次数:326
关闭特定程序(网上找的,仅自用,非原创)
using System;using System.Diagnostics;class close_special_exe{ static void Main() { Process[] myProcess; myProcess=Process.GetProcessesByName ("Notepa ...
分类:其他好文   时间:2018-04-07 16:04:55    阅读次数:122
C#创建Windows服务
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using Sys ...
分类:Windows程序   时间:2018-03-16 17:21:21    阅读次数:425
使用账号密码访问文件夹
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threadin ...
分类:其他好文   时间:2018-03-09 16:11:46    阅读次数:196
WPF 打开网页
1、利用浏览器打开using System.Diagnostics; Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = "http://www.baidu.com"; proc.Start(); 2、 ...
分类:Windows程序   时间:2018-03-06 19:10:40    阅读次数:280
C#中怎么用process调用一个exe文件并传入参数?
static void Main(string[] args) { System.Diagnostics.Process.Start(@"E:\SouceCode\WindowsFormsApplication1 - 副本\WindowsFormsApplication1\bin\Debug\Win ...
分类:Windows程序   时间:2018-03-01 21:43:57    阅读次数:276
进程&线程
进程:当前进行中的程序(using System.Diagnostics;) Process.start("浏览器名","http://网页连接"); Process.start("http://网页连接"); 用默认浏览器打开 Process.start("进程名"); Process p =ne ...
分类:编程语言   时间:2018-02-27 12:04:53    阅读次数:157
547条   上一页 1 ... 8 9 10 11 12 ... 55 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!