文章分类 - .NET
摘要:通过前台WEB记录IP访问情况,后台服务定时作规则统计,写黑名单写入IIS的拒绝访问列表里,很有意义噢static void Main(string[] args) { try { // retrieve the directory entry for the root of the IIS server System.DirectoryServices.DirectoryEntry IIS = new System.DirectoryServices.DirectoryEntry( "IIS://localhost/w3svc/17679966/root");//1767
阅读全文
摘要:http://msdn.microsoft.com/zh-cn/library/ms178472.aspx(引用)
阅读全文