var encodedPassword = Uri.EscapeUriString(password);var factory = new ConnectionFactory{ Uri = new Uri($"amqp://{username}:{encodedPassword}@{host}")};
Uri = new Uri("amqp://root:Admin@[email protected]")
Uri = new Uri(@"amqp:/{username}:{password}@{host}")