5 using System.Collections.Generic;
30 this.controlDomain = DataIP;
32 if (!IPAddress.TryParse(DataIP, out ipAddress))
33 ipAddress = Dns.GetHostEntry(DataIP).AddressList[0];
34 this.dataIP = ipAddress.ToString();
36 public Config(
string DataIP,
int ControlPort)
39 this.controlPort = ControlPort;
50 private string username, password, token;
53 this.username = username;
54 this.password = password;
56 public string Token {
get;
set; }
59 JSONNode jsonRequest = JSON.Parse(
"{}");
60 jsonRequest[
"function"] =
"auth";
61 jsonRequest[
"username"] = username;
62 jsonRequest[
"password"] = password;
79 workspaces =
new List<string>();
80 types =
new List<string>();
81 streamIDs =
new List<uint>();
101 public UdpState(IPEndPoint e, UdpClient c) { this.e = e; this.c = c; }
When creating a receiver stream, the request must query what workspace and type of stream to receive ...
The Config class is filled once at the beginning of the unity session and contains important server i...
Contains user information to authenticate with Corelink. The username and password are sent to the se...
List< string > workspaces
Credentials(string username, string password)
Config(string DataIP, int ControlPort)
Utility class for asynchronous data receiving
UdpState(IPEndPoint e, UdpClient c)