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