Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkAvailableEventArgs Class

 

Provides data for the My.Application.NetworkAvailabilityChanged and My.Computer.Network.NetworkAvailabilityChanged events.

Namespace:   Microsoft.VisualBasic.Devices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

System.Object
  System.EventArgs
    Microsoft.VisualBasic.Devices.NetworkAvailableEventArgs

public class NetworkAvailableEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodNetworkAvailableEventArgs(Boolean)

Initializes a new instance of the StartupNextInstanceEventArgs class.

NameDescription
System_CAPS_pubpropertyIsNetworkAvailable

Gets a value indicating whether a network is available to the application.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The WindowsFormsApplicationBase.NetworkAvailabilityChanged and the Network.NetworkAvailabilityChanged events occur when the availability of the network changes.

NetworkAvailableEventArgs contains the new state of the network connection. To get the current state of the network connection, use the IsAvailable property.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft