Ignore:
Timestamp:
Dec 22, 2010, 12:40:02 PM (11 years ago)
Author:
nolte
Message:

Version Fix + New Statistic Test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2233 r2240  
    4444namespace KeySearcher
    4545{
    46     public class Information
    47     {
    48         public int Count { get; set; }
    49         public string Hostname { get; set; }
    50         public DateTime Date { get; set; }
    51     }
    52 
    5346    [Author("Sven Rech, Nils Kopal, Raoul Falk, Dennis Nolte", "rech@cryptool.org", "Uni Duisburg-Essen", "http://www.uni-due.de")]
    5447    [PluginInfo(false, "KeySearcher", "Bruteforces a decryption algorithm.", "KeySearcher/DetailedDescription/Description.xaml", "KeySearcher/Images/icon.png")]
     
    6053        private Dictionary<string, Dictionary<long, Information>> statistic;
    6154        private bool initialized;
    62 
    63 
    6455        /// <summary>
    6556        /// used for creating the TopList
     
    12801271            using (StreamWriter sw = new StreamWriter(string.Format("{0}\\UserRanking{1}.csv", DirectoryHelper.DirectoryLocal, dataIdentifier)))
    12811272            {
    1282                 sw.WriteLine("Avatarname" + ";" + "MaschinenID" + ";" + "Hostname" + ";"+ "Anzahl Pattern" + ";" + "Last Update");
     1273                sw.WriteLine("Avatarname" + ";" + "MaschineID" + ";" + "Hostname" + ";"+ "Pattern Count" + ";" + "Last Update");
    12831274                foreach (string avatar in statistic.Keys)
    12841275                {
     
    14971488        public string Key { get; set; }
    14981489        public string Text { get; set; }
    1499 
    15001490    }
     1491    /// <summary>
     1492    /// Represents one entry in our statistic list
     1493    /// </summary>
     1494    public class Information
     1495    {
     1496        public int Count { get; set; }
     1497        public string Hostname { get; set; }
     1498        public DateTime Date { get; set; }
     1499    }
    15011500}
Note: See TracChangeset for help on using the changeset viewer.