using System; namespace TradeIdeas.MiscSupport { public static class TIUserSession { static TIUserSession() { ApplicationVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); } /// /// The executing assembly version number /// public static string ApplicationVersion { get; private set; } /// /// The UserName, set from the user settings config initially, then updated from login manager on changes /// public static string UserName { get; set; } /// /// The User's Password, set from the user settings config initially, then updated from login manager on changes /// public static string Password { get; set; } /// /// The Session Id from the server /// public static string Id { get; set; } /// /// The JWT Token for Market Data Service and Broker Services /// public static string Token { get; set; } /// /// The DateTime The Token was Created /// public static DateTime? TokenDateTime { get; set; } /// /// The Connection Type for communication with the Micro Proxy TcpIpConnection | WebSocketConnection /// public static string ConnectionType { get; set; } } }