UnityEditor.AssetServerConfig.AssetServerConfig C# (CSharp) Method

AssetServerConfig() public method

public AssetServerConfig ( ) : System
return System
        public AssetServerConfig()
        {
            try
            {
                using (StreamReader reader = new StreamReader(this.fileName))
                {
                    string str;
                    string str2 = ".unkown";
                    while ((str = reader.ReadLine()) != null)
                    {
                        Match match = sKeyTag.Match(str);
                        if (match.Success)
                        {
                            str2 = match.Groups[1].Value;
                        }
                        match = sValueTag.Match(str);
                        if (match.Success)
                        {
                            this.fileContents[str2] = match.Groups[1].Value;
                        }
                    }
                }
            }
            catch (Exception exception)
            {
                Debug.Log("Could not read asset server configuration: " + exception.Message);
            }
        }
AssetServerConfig