摘要: c#9.0真香 阅读全文
posted @ 2020-05-21 03:52 开发者精选资讯 阅读(572) 评论(0) 推荐(0)
摘要: 本文内容来自微软开发博客:https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/ 转载请注明来源,公众号[开发者精选资讯] 在微软2020年Build大会这天,Scott Hunter 在博客上发布了这 阅读全文
posted @ 2020-05-20 00:57 开发者精选资讯 阅读(3071) 评论(2) 推荐(0)
摘要: 在这之前,我必须要声明的是,代码仅供学习参考使用,以此代码发生的后果,请自己负责。先来张爆破成功的图:首先,创建一个Windows应用程序,引入一个FTP操作类,代码如下:View Code using System;using System.IO;using System.Net;using System.Net.Sockets;using System.Text;using System.Text.RegularExpressions;using System.Collections;namespace System{ /// <summary> /// FTP类 ///... 阅读全文
posted @ 2012-06-19 17:39 开发者精选资讯 阅读(1595) 评论(8) 推荐(4)
摘要: 获得Cpu使用率,首先写一个类,如下:using System;using Microsoft.Win32;using System.Diagnostics;using System.Runtime.InteropServices;namespace CpuUsage{ /// <summary> /// SysInfo 的摘要说明。 /// </summary> public class SystemInfo { #region CpuUsage类 /// <summary> /// Defines an abstrac... 阅读全文
posted @ 2012-02-09 11:25 开发者精选资讯 阅读(1210) 评论(1) 推荐(0)