using System; | |
using System.Net; | |
namespace RemoteView | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
if (!HttpListener.IsSupported) | |
{ | |
Console.WriteLine("Windows XP SP2 or Server 2003 is required to use the HttpListener class."); | |
return; | |
} | |
// run server | |
new Server().start(); | |
} | |
} | |
} |