Get mailbox size

Sep 30 2004 5:20 AM
I need to get the actual mailbox usage (not the upperlimit) of an exchange-mailbox. The code has to be in c#, i've search everywhere, but i cant seem to find anything about it in c#. Found this example in VB-script (use of the Exchange_Mailbox Class), can anyone give me an idea to solve this problem, or maybe convert the code below in to c#. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_wmiref_pr_Exchange_MailboxSize.asp I would really appreciate any help you can give. Thanks