不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
使用Environment类获取服务器信息
编辑:dnawo 日期:2008-07-08
工作目录: Environment.CurrentDirectory
系统目录: Environment.SystemDirectory
当前目录: Server.MapPath(".")
计算机名称: Environment.MachineName
系统版本号: Environment.OSVersion.ToString()
处理器个数: Environment.ProcessorCount
系统启动时间(h): Environment.TickCount/3600000
网络域名: Environment.UserDomainName
当前用户: Environment.UserName
占用内存(k): Environment.WorkingSet/1024
分区个数: Environment.GetLogicalDrives().Length
Desktop: Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
Programs: Environment.GetFolderPath(Environment.SpecialFolder.Programs)
Personal: Environment.GetFolderPath(Environment.SpecialFolder.Personal)
MyDocuments: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
Favorites: Environment.GetFolderPath(Environment.SpecialFolder.Favorites)
Startup: Environment.GetFolderPath(Environment.SpecialFolder.Startup)
Recent: Environment.GetFolderPath(Environment.SpecialFolder.Recent)
SendTo: Environment.GetFolderPath(Environment.SpecialFolder.SendTo)
StartMenu: Environment.GetFolderPath(Environment.SpecialFolder.StartMenu)
MyMusic: Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)
DesktopDirectory: Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
MyComputer: Environment.GetFolderPath(Environment.SpecialFolder.MyComputer)
Templates: Environment.GetFolderPath(Environment.SpecialFolder.Templates)
ApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
LocalApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
InternetCache: Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)
Cookies: Environment.GetFolderPath(Environment.SpecialFolder.Cookies)
History: Environment.GetFolderPath(Environment.SpecialFolder.History)
CommonApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
System: Environment.GetFolderPath(Environment.SpecialFolder.System)
ProgramFiles: Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
MyPictures: Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)
CommonProgramFiles: Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles)
系统目录: Environment.SystemDirectory
当前目录: Server.MapPath(".")
计算机名称: Environment.MachineName
系统版本号: Environment.OSVersion.ToString()
处理器个数: Environment.ProcessorCount
系统启动时间(h): Environment.TickCount/3600000
网络域名: Environment.UserDomainName
当前用户: Environment.UserName
占用内存(k): Environment.WorkingSet/1024
分区个数: Environment.GetLogicalDrives().Length
Desktop: Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
Programs: Environment.GetFolderPath(Environment.SpecialFolder.Programs)
Personal: Environment.GetFolderPath(Environment.SpecialFolder.Personal)
MyDocuments: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
Favorites: Environment.GetFolderPath(Environment.SpecialFolder.Favorites)
Startup: Environment.GetFolderPath(Environment.SpecialFolder.Startup)
Recent: Environment.GetFolderPath(Environment.SpecialFolder.Recent)
SendTo: Environment.GetFolderPath(Environment.SpecialFolder.SendTo)
StartMenu: Environment.GetFolderPath(Environment.SpecialFolder.StartMenu)
MyMusic: Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)
DesktopDirectory: Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
MyComputer: Environment.GetFolderPath(Environment.SpecialFolder.MyComputer)
Templates: Environment.GetFolderPath(Environment.SpecialFolder.Templates)
ApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
LocalApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
InternetCache: Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)
Cookies: Environment.GetFolderPath(Environment.SpecialFolder.Cookies)
History: Environment.GetFolderPath(Environment.SpecialFolder.History)
CommonApplicationData: Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
System: Environment.GetFolderPath(Environment.SpecialFolder.System)
ProgramFiles: Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
MyPictures: Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)
CommonProgramFiles: Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles)
评论: 0 | 引用: 0 | 查看次数: 4752
发表评论
请登录后再发表评论!