Free Trial
10 days, no credit_card

<< More Tutorials

How to use rethumb in C#?

To use rethumb in C# try the following code:

using System.IO;
using System;
using System.Net;

class CsRethumbExample
{
    static void Main()
    {
        using (WebClient client = new WebClient())
        {
            client.DownloadFile("http://api.rethumb.com/v1/width/100/http://factor45.org/images/beach.jpg",  @"beach.thumb.jpg");
        }
    }
}

Start using this example now

Use the following commands to get started:

$ git clone https://github.com/rethumb/rethumb-csharp-examples.git
$ cd rethumb-csharp-examples
$ ... Use your IDE of choice to handle the file "generic.cs"

More examples using C#