NetworkAvailabilityEventArgs.IsAvailable 属性

定义

获取网络连接的当前状态。

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

属性值

如果网络可用,则为 true;否则为 false

适用于