Files
PocketSharp/PocketSharp.Console/Program.cs
T

30 lines
811 B
C#
Raw Normal View History

using System;
using PocketSharp;
2013-06-13 16:22:38 +02:00
using PocketSharp.Models.Authentification;
2013-06-20 00:24:43 +02:00
using PocketSharp.Models;
using System.Collections.Generic;
namespace PocketSharp.Console
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("PocketClient internal usage tests");
System.Console.WriteLine("---------------------------------");
// this consumerKey is just for demonstration purposes
// please create your own application and retrieve it's key. It's a 1-step process ;-)
2013-06-19 23:05:12 +02:00
PocketClient client = new PocketClient(
2013-06-21 00:07:05 +02:00
consumerKey: "15396-f6f92101d72c8e270a6c9bb3"
2013-06-19 23:05:12 +02:00
);
2013-06-21 00:07:05 +02:00
var x = client.GetAuthentificationUri(new Uri("http://ceecore.com"));
2013-06-21 00:07:05 +02:00
System.Console.WriteLine(x.ToString());
System.Console.ReadKey();
}
}
}