private static IsLegalDNSChar ( char c ) : bool | ||
c | char | |
Résultat | bool |
// Token: 0x06002B10 RID: 11024 RVA: 0x0009FD88 File Offset: 0x0009DF88 private static bool AllLegalCharacters(string str) { foreach (char c in str) { if (!SiteString.IsLegalDNSChar(c) && !SiteString.IsNetbiosSplChar(c)) { return(false); } } return(true); }
private static bool AllLegalCharacters(string str) { for (int index = 0; index < str.Length; ++index) { char c = str[index]; if (!SiteString.IsLegalDNSChar(c) && !SiteString.IsNetbiosSplChar(c)) { return(false); } } return(true); }