- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
private static string GetServerHostFromUrl(string url)
{
char[] delimiterChars = { '/', ':' };
var urlParser = url.Split(delimiterChars);
if (urlParser[0] == "http" || urlParser[0] == "https")
return urlParser[3];
else
return string.Empty;
}
guest8 05.11.2019 20:22 # −999
Konardinho 12.11.2019 00:56 # 0