NetworkState Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about the connection state of the client computer and whether a connection can be made to a specified network location.
public ref class NetworkState abstract
public abstract class NetworkState
type NetworkState = class
Public MustInherit Class NetworkState
- Inheritance
-
NetworkState
Remarks
Note: The NetworkState 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 NetworkState 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.
Constructors
NetworkState() |
Properties
MachineOnlineState |
Gets the current connection state of the client computer. |
Methods
IsDestinationReachable(String) |
Gets a value that indicates whether a connection can be made to the specified network destination. |