http://thomas.bindzus.me/tag/iis-7-import-htaccess-files/
This link shows how to import an apache .htaccess rule file to IIS7.5.
Now I want to do the same thing by using C# or Vbscript,not from the UI,is there anyone who knows how to achieve it?
And I also want to know how to clear all rewrite rules by C#.