// ------------------------------------------------------------------------ // ------------------------------------------------------------------------ public void initLRS(String endpoint, String username, String password) { this.endpoint = endpoint; // endpoint should have trailing / if (this.endpoint[this.endpoint.Length - 1] != '/') { this.endpoint += "/"; } this.version = TCAPIVersion.latest(); this.auth = "Basic " + Convert.ToBase64String(Encoding.UTF8.GetBytes(username + ":" + password)); this.initState(); }
public RemoteLRS(string endpoint, string username, string password) : this(endpoint, TCAPIVersion.latest(), username, password) { }
public RemoteUnityLRS(String endpoint, String username, String password) : this(endpoint, TCAPIVersion.latest(), username, password) { }