NetworkAvailabilityEventArgs.IsAvailable 属性

定义

获取网络连接的当前状态。Gets the current status of the network connection.

public:
 property bool IsAvailable { bool get(); };
public bool IsAvailable { get; }
member this.IsAvailable : bool
Public ReadOnly Property IsAvailable As Boolean

属性值

如果网络可用,则为 true;否则为 falsetrue if the network is available; otherwise, false.

适用于