引用命名空间
using System.Management;
using System;
using System.Diagnostics;
并在引用中添加
写好的一些方法
/// <summary>
/// CPU名称信息
/// </summary>
/// <returns></returns>
public static stri...
Http.CS
public class Http
{
public static string Post(string requestUri,string json)
{
string strUri = requestUri;
HttpWebRequest request = (HttpWebR...
引用mysql.data
公用变量
MySqlConnection conn;
MySqlDataAdapter mda;//数据适配器
DataSet ds;
连接数据库
String MySqlcon = "server= 地址; user id= 用户名;password= 密码; database=数据库名";
conn = new MySqlConnectio...
using Microsoft.Win32;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Windows.Forms;
n...