I want to make a program that hosts a webpage with computer uptime of the system it is running on but I don’t want to do anything to the user’s IIS. Is there anyway to do by making some system calls (to the ISAPI dlls etc) in c#?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want to create a web server?
Try System.Net.HttpListener
You can get the system’s uptime in milliseconds using System.Environment.TickCount