C#编写Windows服务程序 http://www.cr173.com/html/15350_1.html 从头到尾配置服务器 http://www.cnblogs.com/EmptyFS/p/3547796.html