Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace GTFS.Servers.Login
- {
- public class LoginConfiguration : ConfigurationFramework
- {
- public LoginConfiguration()
- : base("cfg.ini", false)
- {
- RequiredClientDate = base.GetValue("clientdate");
- ServerName = base.GetValue("servername");
- ServerIP = base.GetValue("serverip");
- ChannelName = base.GetValue("channelname");
- MSSQLUsername = base.GetValue("mssql_user");
- MSSQLPassword = base.GetValue("mssql_passwd");
- MSSQLAddress = base.GetValue("mssql_address");
- MSSQLDatabase = base.GetValue("mssql_database");
- MSSQLPort = (base.KeyExists("mssql_port") ? base.GetValueAsInt("mssql_port") : 2301);
- }
- public string RequiredClientDate { get; private set; }
- public string ServerName { get; private set; }
- public string ServerIP { get; private set; }
- public string ChannelName { get; private set; }
- public string MSSQLUsername { get; private set; }
- public string MSSQLPassword { get; private set; }
- public string MSSQLAddress { get; private set; }
- public string MSSQLDatabase { get; private set; }
- public int MSSQLPort { get; private set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement