Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Getting started

Ivan Franjic edited this page Mar 4, 2019 · 4 revisions

Main entry point for consuming this library is ExchangeService.

Simplest form of instantiating ExchangeService session is by providing BearerToken and EmailAddress of the mailbox:

ExchangeService exchangeService = new ExchangeService("<bearer token>", "test@test.com");

Structure of the instantiated service looks like this:

UserAgent                  : ExchangeRestClient
Url                        : https://outlook.office365.com/api/v2.0
TraceEnabled               : False
TraceFlags                 : None
TraceListener              : DefaultTraceListener
HttpResponseHeaders        :
ProxyServer                :
MailboxId                  : test@test.com
AuthorizationTokenProvider : SimpleAuthorizationTokenProvider
Preferences                : {}

Clone this wiki locally