// Create the web request HttpWebRequest request = WebRequest.Create("https://outlook.office365.com/api/v1.0/me/messages/$count?$filter=IsRead%20eq%20false") as HttpWebRequest; // Add authentication to request request.Credentials = new NetworkCr
从Bing搜索得到,保存于此 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media.Imaging; using System.Windows.Media; using System.Diagnostics;