You can loop round the stores in your Outlook profile using the Stores property, and check the ExchangeStoreType property value of each Store to see if its the type of store you are interested in.
I haven't got a delegate mailbox in my Outlook profile, so I can't say 100% how to get the owner. But hopefully you'll be able to spot a property on the Store object that give you the information you need. e.g. the DisplayName property.
Here is an example to loop round the Stores in your Outlook profile and check what type of Exchange Store it is.
Stores stores = Application.GetNamespace("MAPI").Stores;
for (int i = 1; i <= stores.Count; i++)
{
Store store = stores[i];
switch (store.ExchangeStoreType)
{
case OlExchangeStoreType.olAdditionalExchangeMailbox:
break;
case OlExchangeStoreType.olExchangeMailbox:
break;
case OlExchangeStoreType.olExchangePublicFolder:
break;
case OlExchangeStoreType.olNotExchange:
break;
case OlExchangeStoreType.olPrimaryExchangeMailbox:
break;
}
Marshal.ReleaseComObject(store);
}
Marshal.ReleaseComObject(stores);
And if you want to get the Inbox folder, you can use the GetDefaultFolder method.
MAPIFolder inboxFolder = store.GetDefaultFolder(OlDefaultFolders.olFolderInbox);