예제 #1
0
 protected override void LoadClientInfo()
 {
     Client = new Client();
     Client.Type = ClientType.Windows;
     Client.Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
 }
예제 #2
0
        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;
        }