5using System.Collections.Generic;
7using System.Net.Sockets;
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;
80 types =
new List<string>();
The Config class is filled once at the beginning of the unity session and contains important server i...
Config(string DataIP, int ControlPort)
Contains user information to authenticate with Corelink. The username and password are sent to the se...
Credentials(string username, string password)
When creating a receiver stream, the request must query what workspace and type of stream to receive ...
List< string > workspaces
Utility class for asynchronous data receiving.
UdpState(IPEndPoint e, UdpClient c)