-1

I am trying to disable an exchange mailbox from C# code. Is there any way or API to do so by C#. I have tried with Powershell.

1 Answers1

1

.Net version of my project is 4.0 and I was using the System.Management.Automation.dll file that support only .Net version 4.5. Now, I changed the ddl file that supports the .Net 4.0 version and it's working now.