Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsSafe()

static bool System.Net.WebClient.IsSafe ( char ch)
inlinestaticprivate

Definition at line 1418 of file WebClient.cs.

1419 {
1420 if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9'))
1421 {
1422 return true;
1423 }
1424 switch (ch)
1425 {
1426 case '!':
1427 case '\'':
1428 case '(':
1429 case ')':
1430 case '*':
1431 case '-':
1432 case '.':
1433 case '_':
1434 return true;
1435 default:
1436 return false;
1437 }
1438 }

References System.ch.

Referenced by System.Net.WebClient.UrlEncodeBytesToBytesInternal().