Provides information about the connection state of the client computer and whether a connection can be made to a specified network location.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The class and its members are intended to be used in code that works with the FormControl, which is a managed control that is used to integrate the InfoPath form editor into a .NET-based custom application. To use the same functionality from an InfoPath form template, use the IsDestinationReachable(String) method and MachineOnlineState property of the Application class.
To access the object associated with the current form, use the NetworkState property of the XmlForm class. To access the XmlForm class from the object model provided by the FormControl, use the XmlForm property.