AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ConnectInfo.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 
6 namespace HoloToolkit.Unity
7 {
8  [Serializable]
9  public struct ConnectInfo
10  {
11  public ConnectInfo(string ip, string user, string password, string machineName = "")
12  {
13  IP = ip;
14  User = user;
15  Password = password;
16  MachineName = string.IsNullOrEmpty(machineName) ? ip : machineName;
17  }
18 
19  public string IP;
20  public string User;
21  public string Password;
22  public string MachineName;
23  }
24 }
ConnectInfo(string ip, string user, string password, string machineName="")
Definition: ConnectInfo.cs:11