NetworkInterface.GetIsNetworkAvailable 메서드

정의

네트워크 연결을 사용할 수 있는지 여부를 나타냅니다.

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

반품

true네트워크 연결을 사용할 수 있으면 이고, 그렇지 않으면 . false

특성

설명

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

적용 대상