RabbitMQ.Client.Impl.ConnectionBase.DefaultClientProperties C# (CSharp) Method

DefaultClientProperties() public static method

public static DefaultClientProperties ( ) : object>.IDictionary
return object>.IDictionary
        public static IDictionary<string, object> DefaultClientProperties()
        {
            System.Reflection.Assembly assembly =
                    System.Reflection.Assembly.GetAssembly(typeof(ConnectionBase));
            string version = assembly.GetName().Version.ToString();
            //TODO: Get the rest of this data from the Assembly Attributes
            IDictionary<string, object> table = new Dictionary<string, object>();
            table["product"] = Encoding.UTF8.GetBytes("RabbitMQ");
            table["version"] = Encoding.UTF8.GetBytes(version);
            table["platform"] = Encoding.UTF8.GetBytes(".NET");
            table["copyright"] = Encoding.UTF8.GetBytes("Copyright (C) 2007-2014 GoPivotal, Inc.");
            table["information"] = Encoding.UTF8.GetBytes("Licensed under the MPL.  " +
                                                          "See http://www.rabbitmq.com/");
            return table;
        }