public string GetUserDir(string key) { string sk = ""; foreach (char s in key) { if (IsOkForNameChar(s)) { sk += s; } } lock (ListUserDirs) return(UserOper("GetUserDir " + key, () => HostSystem.Slashify(GetUserDir0(key)), QuietLogger)); }