zoukankan
html css js c++ java
如何获取本机已经安装了的软件的列表?
using
System;
using
Microsoft.Win32;
namespace
ConsoleApplication7
{
/**/
///
<summary>
///
Class1 の概要の説明です。
///
</summary>
class
Class1
{
/**/
///
<summary>
///
アプリケーションのメイン エントリ ポイントです。
///
</summary>
[STAThread]
static
void
Main(
string
[] args)
{
RegistryKey rk
=
Registry.LocalMachine.OpenSubKey(
"
SOFTWARE
"
);
PrintKeys(rk);
Console.ReadLine();
}
static
void
PrintKeys(RegistryKey rkey)
{
//
Retrieve all the subkeys for the specified key.
String [] names
=
rkey.GetSubKeyNames();
//
Print the contents of the array to the console.
foreach
(String s
in
names)
{
Console.WriteLine(s);
}
}
}
}
查看全文
相关阅读:
Linux安装phpMywind
CentOS7安装virtualbox
MySQL3534
DIV盒子介绍
HTML选择器
人脸检测
openblas下载安装编译
DeepLearning网络设计总结
Linux命令替换字符串
Y7000联想拯救者gtx1050Ti安装cuda9.0
原文地址:https://www.cnblogs.com/sskset/p/153109.html
最新文章
Eclipse新建web项目正常启动tomcat不报错,但不能访问项目的解决方法
PowerDesigner导出建表sql脚本
PowerDesigner生成SQL脚本时,对象带有双引号的问题解决
spring使用jackson返回object报错:Handler execution resulted in exception: Could not find acceptable representation
springMVC系统异常处理及自定异常处理
c++绘图软件<一>
c++内存流
boost库之geometry<二>
boost库之geometry
Drawcli分析
热门文章
字符串编码问题(Ascii、Unicode、UCS-2、GBK、UTF-8)
c++模板两个数的加法
stl function扩展(一)
ActiveX控件在IE中不响应Backspace消息
CDialog上使用CToolBar+CReBar
MySQL设置远程连接服务器
Python中utf-8与utf-8-sig两种编码格式的区别
SVN linux 服务器端配置
拖进Xshell终端窗口文件上传
yaf视图
Copyright © 2011-2022 走看看