摘要:
Guid ID = Guid.Parse("d0094166-e435-4a8f-a02e-3167a4550be7"); string str = ID.ToString(); Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings.Add("Default", str); config.Save(); ... 阅读全文
posted @ 2014-04-04 14:54
巩乃斯大叔
阅读(229)
评论(0)
推荐(0)
摘要:
//step 1 .设置配置文件App.config: //step 2.注意引用:System.Configuration.dllusing System;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Text;namespace RuiSoft.Common{ public class IsSoftFirstRun { //返回true为首次启动,返回false为非首次启动 pu... 阅读全文
posted @ 2014-04-04 10:40
巩乃斯大叔
阅读(243)
评论(0)
推荐(0)

浙公网安备 33010602011771号