protected override void LoadClientInfo() { Client = new Client(); Client.Type = ClientType.Windows; Client.Version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); }
public virtual bool IsClientVersionAcceptable(Client client) { Version minimumClientVersion = new Version("0.1.0.0"); Version usersVersion = new Version(client.Version); if (minimumClientVersion.CompareTo(usersVersion) > 0) return false; else return true; }