Litle.Sdk.Communications.IsProxyOn C# (CSharp) Method

IsProxyOn() public method

public IsProxyOn ( string>.Dictionary config ) : bool
config string>.Dictionary
return bool
        public bool IsProxyOn(Dictionary<string,string> config)
        {
            return config.ContainsKey("proxyHost") && config["proxyHost"] != null && config["proxyHost"].Length > 0 && config.ContainsKey("proxyPort") && config["proxyPort"] != null && config["proxyPort"].Length > 0;
        }