Microsoft Web Administration method or operation is not implemented

747 Views Asked by At

I try to get certificates hash from web-site bindings(IIS) using official Microsoft Library Microsoft Web Administration.I stack with one interesting problem.When I try to complete this trivial operation:

foreach (Binding binding in site.Bindings)
{
   binding.CertificateHash;
   binding.CertificateStoreName;
}

I get this exception: Method or operation is not implemented

enter image description here The most strange and curious thing that when I create another test project and did same things everything work's fine.This situation blows my mind!I compared the versions of the library.They are equal.(Version 7.0.0)

Of course, I try many other solutions and answers:

1)Got an error while using WorkerProcess.GetRequests method from Microsoft.Web.Administration.dll IIS 8.5

2)State property of Site throwing "NotImplementedException" in IIS Express

3)The method or operation is not implemented. while stopping IIS website in C#

but nothing had happened.So that way I here. Thanks for your attention!

0

There are 0 best solutions below