static void Main(string[] args) {
    if (args.Length < 1) {
        Console.WriteLine("Please enter URL");
        Console.WriteLine("Usage: HttpClientConsole.exe <URL>");
    using (Http http = new Http()) {
    //for Clever Internet .NET Suite version 9.4 and higher
    string result = http.Get(args[0]);

    //for Clever Internet .NET Suite version 9.3 and lower
    /*string[] result = http.Get(args[0]);

    foreach (string s in result) {
Have questions?
Join us Facebook   YouTube   Twitter   Telegram   Newsletter
Kind regards
Clever Components team

Add Feedback