Beispiel #1
0
        // ------------------------------------------------------------------------
        // ------------------------------------------------------------------------
        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();
        }
Beispiel #2
0
 public RemoteLRS(string endpoint, string username, string password) : this(endpoint, TCAPIVersion.latest(), username, password)
 {
 }
Beispiel #3
0
 public RemoteUnityLRS(String endpoint, String username, String password) : this(endpoint, TCAPIVersion.latest(), username, password)
 {
 }