views:

250

answers:

1

How to get information about certificate installed on iis 6.0 server under C# in winforms application.

+1  A: 

UPD I just noticed that you need C# but not ASP.NET, so my reply is not correct. You can use System.DirectoryServices to query IIS properties. Please note that certificate is not bound to the whole IIS server. Every web site can have it's own certificate.

Artem K.
Thanks but I forgot to mention that it is winform application.
Darqer
Yes I use DirectoryEntry, however I can't find field in IIS metabase that give information about certificate.
Darqer