19 lines
442 B
C#
19 lines
442 B
C#
using LaDOSE.REST;
|
|
internal class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
Console.WriteLine("Rest Test");
|
|
var p = new LaDOSE.REST.RestService();
|
|
Console.WriteLine("[+] Connect");
|
|
|
|
p.Connect(new Uri("http://localhost:5000/"),"dev","dev");
|
|
Console.WriteLine("[+] Test");
|
|
var games = p.GetGames();
|
|
foreach (var ga in games)
|
|
{
|
|
Console.WriteLine(ga.Name);
|
|
}
|
|
|
|
}
|
|
} |