IsLegalDNSChar() приватный статический Метод

private static IsLegalDNSChar ( char c ) : bool
c char
Результат 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);
 }
Пример #2
0
 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);
 }