A native .NET C# library for developing Matrix clients.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
554 B

using System;
using MatrixDotNetLib;
using Newtonsoft.Json;
namespace MatrixDotNetCmd
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("MatrixDotNetLib v0.1 - A .NET Core library for Matrix");
// let's just try a thing
MatrixSessionManager session = new MatrixSessionManager();
MatrixLoginResponse response = session.Login("post.hyrule.cc", "claire", "B52Lorelai");
Console.WriteLine(JsonConvert.SerializeObject(response));
}
}
}