Sorry but I have no idea about asp.net websites, but any reputable search engine will be sending you a user agent string which tells you it's a bot, and that should be available in your log file. Another giveaway is that they look for /robots.txt.
My checker looks like this (Perl):
sub is_bot
{
my ($user_agent) = @_;
if ($user_agent =~
/msnbot
|www\.cuil\.com
|Yahoo!\s+Slurp
|Googlebot
|Speedy\sSpider
|MLBot
|princeton crawler
|accelobot
|crawler\@dotnetdotcom
|help\.naver\.com
|GingerCrawler
|Sosospider
|www.exabot.com
|Baiduspider
|Ask\sJeeves
|Java\/
|telehouse\.ru
|Tagoobot
|Baypup
|SimilarPages
|Spinn3r
|VoilaBot
|Yandex
|Xenu\sLink\sSleuth
|www\.searchme\.com
|MJ12bot
|kilomonkey\.com
|Mediapartners-Google
|Sogou\sweb\sspider
|YoudaoBot
|seexie\.com
|Yahoo.*Slurp
|YahooCacheSystem
|crawler\@nutch\.biz
|psbot
|ia_archiver-web\.archive\.org
|sbider
|xrss\.eu
|scoutjet
|www\.puritysearch\.net
|Bing
|BaiduImagespider
|baidu\.jp
|facebookexternalhit
|ssllabs\.com
|Python-urllib
|drupal\.org
|HTTrack
|Willow\s+Internet\s+Crawler\s+by\s+Twotrees
/x) {
return 1;
}
return;
}
If you look in the source code of awstats you'll find something better than the above.