28 lines
668 B
C#
Executable File
28 lines
668 B
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Windows.Storage;
|
|
|
|
namespace HueUWP
|
|
{
|
|
class APIHandler
|
|
{
|
|
public static ApplicationData APP_DATA = ApplicationData.Current;
|
|
public static ApplicationDataContainer LOCAL_SETTINGS = APP_DATA.LocalSettings;
|
|
|
|
NetworkHandler nwh;
|
|
public APIHandler(NetworkHandler nwh)
|
|
{
|
|
this.nwh = nwh;
|
|
}
|
|
|
|
public void Register()
|
|
{
|
|
string id = nwh.RegisterName("Hue", "Kenneth&Yorick").ToString();
|
|
//write to file;
|
|
}
|
|
}
|
|
}
|