Table of Contents

Class AlwaysConnected

Namespace
Arc4u.Network.Connectivity
Assembly
Arc4u.dll

An INetworkInformation that always reports a connected network (Ethernet and Internet). It suits applications that do not monitor the connectivity.

[Export(typeof(INetworkInformation))]
public class AlwaysConnected : INetworkInformation
Inheritance
AlwaysConnected
Implements
Inherited Members

Constructors

AlwaysConnected()

Initializes a new instance of the AlwaysConnected class.

public AlwaysConnected()

Properties

Status

Gets the current network status.

public NetworkStatus Status { get; }

Property Value

NetworkStatus

Events

StatusMonitoring

Occurs when the network status changes. This implementation never raises the event since the status never changes.

public event EventHandler<NetworkInformationArgs>? StatusMonitoring

Event Type

EventHandler<NetworkInformationArgs>