Introduction
In the past two days, an ASP. NET Server Information Probe is required. I searched the internet and found no open source ASP. NET System Information Probe (detector ). Because the technical content is not very high, you can try your best.
I found various ASP. NET System Information probes on the Internet, summarized the functions, and basically implemented them. Now that we have implemented it, don't hide it, and there is no technical content. We can use it as an open source tool. Anyone with a better idea can tell me that if it is not difficult, I will add it.
I put this on Google Code hosting, and you can download it from it as needed:
Http://aspnetsysinfo.googlecode.com/
My ASP. the biggest difference between the System Information Probe of. NET and other probe is that in addition to the IIS server environment on Windows platform, this probe also supports ASP.. NET environment. To make the probe more common, I use reflection to call the class libraries related to 2.0. In 1.0 or Linux, I use different methods to obtain the same information. So my probe should be the most widely supported system platform. Including. NET 1.0/1.1/2.0 in windows and above, and mono 1.x In the mono environment in Linux can run either mono. NET 1.0 or mono. NET 2.0.
Currently, the following information is supported:
Information System Information
- Server Name
- Server IP Address
- Server Domain Name
- Server Port
- Web Server version
- Virtual Path of the request link
- Physical path of the request link
- Virtual Path of the application root path
- Physical path of the application root path
- Operating System
- Operating system installation directory
- . Net version
- . Net Language
- Current server time
- Server duration
- Script timeout
Processor Information
- Number of processors
- Processor ID
- Processor type
- Processor level
- Processor OEM ID
- Page size
Memory Information
- The current memory size of the. NET application.
- Physical memory size
- Physical idle memory size
- Physical usage space
- Page file size
- Available page file size
- Virtual Memory size
- Available memory size
Storage Information
- Logical drive information
- Drive name
- Scale
- Drive file format (FAT32, NTFS ...)
- Drive Type (Fixed hard disk, CDROM ...)
- Free and all space
Request headersserver variables environment variable session information system COM Component
- Adodb. Connection
- Adodb. RecordSet
- Adodb. Stream
- Scripting. FileSystemObject
- Microsoft. XMLHTTP
- WScript. Shell
- MSWC. AdRotator
- MSWC. BrowserType
- MSWC. Counters
- MSWC. NextLink
- MSWC. PermissionChecker
- MSWC. Status
- MSWC. Tools
- IISSample. ContentRotator
- IISSample. PageCounter
Mail COM Component
- JMail. SMTPMail
- JMail. Message
- CDONTS. NewMail
- CDO. Message
- Persits. MailSender
- SMTPsvg. Mailer
- DkQmail. Qmail
- SmtpMail. SmtpMail
- Geocel. Mailer
Upload COM components
- LyfUpload. UploadFile
- Persits. Upload
- Ironsoft. UpLoad
- Aspcn. Upload
- SoftArtisans. FileUp
- SoftArtisans. FileManager
- Dundas. Upload
- W3.upload
Image COM Component
- SoftArtisans. ImageGen
- W3Image. Image
- Persits. Jpeg
- XY. Graphics
- Ironsoft. DrawPic
- Ironsoft. FlashCapture
Other COM components
- Dyy.zip svr
- Hin2.com _ iis
- Socket. TCP
Usage
Download the ZIP file of the current version from the download page. After decompressionInfo. aspxFiles placed on the server can be executed*. AspxAnd then access the file through a browser.
For example, place it on a serverWww.example.comUnder the web root directoryHttp://www.example.com/info.aspxYou can see the result.
Requirement
This page supports Windows IIS server and Linux/Unix Apache server with mono installed.