C# Класс Bloom.web.UrlLookup

Показать файл Открыть проект

Открытые методы

Метод Описание
IsInternetAvailable ( ) : bool

Check whether or not the internet is currently available. This may delay 2.5 seconds if the computer is on a local network, but the internet is inaccessible.

credit is due to http://stackoverflow.com/questions/520347/how-do-i-check-for-a-network-connection and https://forums.xamarin.com/discussion/19491/check-internet-connectivity.

LookupUrl ( UrlType urlType, bool sandbox = false, bool excludeProtocolPrefix = false ) : string

Приватные методы

Метод Описание
GetSandboxUrlType ( UrlType urlType ) : UrlType
LookupFallbackUrl ( UrlType urlType ) : string
LookupFullUrl ( UrlType urlType, bool sandbox = false ) : string
StripProtocol ( string fullUrl ) : string
TryLookupUrl ( UrlType urlType, string &url ) : bool

Описание методов

IsInternetAvailable() публичный статический Метод

Check whether or not the internet is currently available. This may delay 2.5 seconds if the computer is on a local network, but the internet is inaccessible.
credit is due to http://stackoverflow.com/questions/520347/how-do-i-check-for-a-network-connection and https://forums.xamarin.com/discussion/19491/check-internet-connectivity.
public static IsInternetAvailable ( ) : bool
Результат bool

LookupUrl() публичный статический Метод

public static LookupUrl ( UrlType urlType, bool sandbox = false, bool excludeProtocolPrefix = false ) : string
urlType UrlType
sandbox bool
excludeProtocolPrefix bool
Результат string