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

◆ IsValid() [2/2]

static unsafe bool System.IPv4AddressHelper.IsValid ( char * name,
int start,
ref int end,
bool allowIPv6,
bool notImplicitFile,
bool unknownScheme )
inlinestaticpackage

Definition at line 57 of file IPv4AddressHelper.cs.

58 {
59 if (allowIPv6 || unknownScheme)
60 {
61 return IsValidCanonical(name, start, ref end, allowIPv6, notImplicitFile);
62 }
63 return ParseNonCanonical(name, start, ref end, notImplicitFile) != -1;
64 }
static unsafe bool IsValidCanonical(char *name, int start, ref int end, bool allowIPv6, bool notImplicitFile)
static unsafe long ParseNonCanonical(char *name, int start, ref int end, bool notImplicitFile)

References System.IPv4AddressHelper.IsValidCanonical(), System.IPv4AddressHelper.ParseNonCanonical(), and System.start.