From 354b65cc54c6fdd4c004c5895bfd5fedf06abf7f Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 30 Apr 2017 18:50:54 -0400 Subject: A better linking system. --- ShiftOS_TheReturn/UniteClient.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'ShiftOS_TheReturn') diff --git a/ShiftOS_TheReturn/UniteClient.cs b/ShiftOS_TheReturn/UniteClient.cs index 8d9eef2..88e44af 100644 --- a/ShiftOS_TheReturn/UniteClient.cs +++ b/ShiftOS_TheReturn/UniteClient.cs @@ -15,7 +15,7 @@ namespace ShiftOS.Unite public UniteClient(string baseurl, string usertoken) { BaseURL = baseurl; - Token = Token; + Token = usertoken; } internal string MakeCall(string url) @@ -34,6 +34,21 @@ namespace ShiftOS.Unite } } + public string GetEmail() + { + return MakeCall("/API/GetEmail"); + } + + public string GetSysName() + { + return MakeCall("/API/GetSysName"); + } + + public void SetSysName(string value) + { + MakeCall("/API/SetSysName/" + value); + } + public string GetDisplayName() { return MakeCall("/API/GetDisplayName"); -- cgit v1.2.3