Hello, DmitryMS!
D> The StateChange event is not raised unless you explicitly call Close or
D> Dispose. For more information, see Working with Connection Events.
D> But sure you can still run a low priority process to check that
D> connection state...
Это не дает 100% гарантии
Posted via RSDN NNTP Server 1.9