mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-28 08:03:43 +02:00
30 lines
610 B
C#
30 lines
610 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace WinUI
|
|
{
|
|
class CentralLogin
|
|
{
|
|
|
|
|
|
public CentralLogin(string email, string password, bool isNew)
|
|
{
|
|
Login = email;
|
|
Password = password;
|
|
IsNew = isNew;
|
|
}
|
|
|
|
[JsonProperty("login")]
|
|
public string Login { get; set; }
|
|
|
|
[JsonProperty("password")]
|
|
public string Password { get; set; }
|
|
|
|
[JsonProperty("register")]
|
|
public bool IsNew { get; set; }
|
|
}
|
|
}
|