国产女人18毛片水真多18精品, 一区二区三区中文字-亚洲精品女国产, 欧美熟妇老熟妇88888久久久久, 一级毛片免费观看亚洲欧美国产精品,大波霸美女视频,日韩欧美激情V影院,熟女人伦21p,亚洲精品女国产,国产 乱子伦 在线

獲取當前操作系統(tǒng)的軟件版本

時間:2025-09-15 04:57:12 操作系統(tǒng) 我要投稿

獲取當前操作系統(tǒng)的軟件版本

  1usingSystem;

  2usingSystem.Collections.Generic;

  3usingSystem.ComponentModel;

  4usingSystem.Data;

  5usingSystem.Drawing;

  6usingSystem.Text;

  7usingSystem.Windows.Forms;

  8usingMicrosoft.Win32;

  9

  10namespaceReg4U

  11{

  12publicpartialclassForm1:Form

  13{

  14publicForm1()

  15{

  16InitializeComponent();

  17}

  18

  19privatevoidbutton1_Click(objectsender,EventArgse)

  20{

  21RegistryKeyrk;

  22rk=Registry.LocalMachine.OpenSubKey("Software\Microsoft\WindowsNT\CurrentVersion");

  23strings="當前操作系統(tǒng)版本:"rk.GetValue("ProdUCtName").ToString();

  24s=s" "rk.GetValue("CSDVersion").ToString();

  25s=s" 當前操作系統(tǒng)安裝序列號: "rk.GetValue("ProductId").ToString();

  26s=s" 當前系統(tǒng)版本號:"rk.GetValue("CurrentBuildNumber").ToString();

  27rk.Close();

  28textBox1.Text=textBox1.Text" "s;

  29}

  30

  31privatevoidForm1_Load(objectsender,EventArgse)

  32{

  33RegistryKeyrk;

  34rk=Registry.LocalMachine.OpenSubKey("Software\Microsoft\WindowsNT\CurrentVersion");

  35strings=rk.GetValue("ProductName").ToString();

  36if(System.Text.RegularEXPressions.Regex.IsMatch(s,"windows2000"))

  37{

  38textBox1.Text="您的操作系統(tǒng)是2K,恭喜您,你的當前系統(tǒng)適合本軟件的使用!";

  39}

  40rk.Close();

  41}

  42}

  43}

【獲取當前操作系統(tǒng)的軟件版本】相關文章:

php獲取當前url地址的方法09-20

JavaScript如何獲取獲取當前年月日星期10-21

php獲取當前時間的毫秒數詳解02-16

Linux操作系統(tǒng)的十個經典版本11-17

C#檢測操作系統(tǒng)版本的方法匯總11-18

php根據IP地址獲取當前地理位置接口12-16

WindowsMobile操作系統(tǒng)手機版本分類對應機型01-26

初學者學習linux操作系統(tǒng)用什么版本02-02

適用于多條件篩選列表的PHP獲取當前URL路徑01-22

  • 相關推薦