To install Json.NET, run the following command in the Package Manager Console
PM> Install-Package Minio
private static ObjectStorageClient client = ObjectStorageClient.GetClient("https://s3-us-west-2.amazonaws.com", "Access Key", "Secret Key");
var buckets = client.ListBuckets();
foreach (Bucket bucket in buckets)
{
Console.Out.WriteLine(bucket.Name + " " + bucket.CreationDate);
}