NetworkInterface.GetIsNetworkAvailable 메서드

정의

네트워크 연결이 사용 가능한지 여부를 나타냅니다.

public:
 static bool GetIsNetworkAvailable();
public static bool GetIsNetworkAvailable ();
[System.Runtime.Versioning.UnsupportedOSPlatform("illumos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("solaris")]
public static bool GetIsNetworkAvailable ();
static member GetIsNetworkAvailable : unit -> bool
[<System.Runtime.Versioning.UnsupportedOSPlatform("illumos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("solaris")>]
static member GetIsNetworkAvailable : unit -> bool
Public Shared Function GetIsNetworkAvailable () As Boolean

반환

네트워크 연결이 사용 가능하면 true이고, 그렇지 않으면 false입니다.

특성

설명

네트워크 인터페이스가 "위로"로 표시되고 루프백 또는 터널 인터페이스가 아닌 경우 네트워크 연결을 사용할 수 있는 것으로 간주됩니다.

적용 대상