C# 클래스 AngleSharp.Io.Tests.Helper

Small (but quite useable) code to enable / disable some test(s) depending on the current network status. Taken from http://stackoverflow.com/questions/520347/c-sharp-how-do-i-check-for-a-network-connection
파일 보기 프로젝트 열기: AngleSharp/AngleSharp.Io

공개 메소드들

메소드 설명
IsNetworkAvailable ( ) : System.Boolean

Indicates whether any network connection is available Filter connections below a specified speed, as well as virtual network cards. Additionally writes an inconclusive message if no network is available.

IsNetworkAvailable ( System.Int64 minimumSpeed ) : System.Boolean

Indicates whether any network connection is available. Filter connections below a specified speed, as well as virtual network cards.

메소드 상세

IsNetworkAvailable() 공개 정적인 메소드

Indicates whether any network connection is available Filter connections below a specified speed, as well as virtual network cards. Additionally writes an inconclusive message if no network is available.
public static IsNetworkAvailable ( ) : System.Boolean
리턴 System.Boolean

IsNetworkAvailable() 공개 정적인 메소드

Indicates whether any network connection is available. Filter connections below a specified speed, as well as virtual network cards.
public static IsNetworkAvailable ( System.Int64 minimumSpeed ) : System.Boolean
minimumSpeed System.Int64 The minimum speed required. Passing 0 will not filter connection using speed.
리턴 System.Boolean