简体   繁体   中英

VSTO C# - Firing event when Outlook connects or disconnects from network

如何在连接状态更改时触发的事件处理程序中检测Outlook何时连接到网络(或断开与网络的连接)?

But you can use the InternetGetConnectedState() Windows API function from wininet.dll.

You can also use Namespace.ExchangeConnectionMode property.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM