http://www.codeproject.com/Articles/...egistry-with-C

read function yazan yerde klasör kontrolü yapan kod var, onu kullanabilirsin