Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/08 16:36:44 (15 years ago)
Author:
aleitner
Message:

Added new Form for Add Job or Add User - Tests with new interfaces in Server (#380)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsole.cs

    r935 r956  
    3131using HeuristicLab.Hive.Contracts.BusinessObjects;
    3232using HeuristicLab.Hive.Contracts;
     33using System.Security.Cryptography;
    3334
    3435namespace HeuristicLab.Hive.Server.Console {
     
    4041    public HiveServerConsole() {
    4142      InitializeComponent();
     43      tbUserName.Text = "Anita";
     44      tbPwd.Text = "Anita";
    4245      tbIp.Text = "10.20.53.1";
    4346      tbPort.Text = "9000";
     
    103106      }
    104107    }
     108
     109    string md5sum(byte[] FileOrText) { //Output: String<-> Input: Byte[]
     110       return BitConverter.ToString(new
     111          MD5CryptoServiceProvider().ComputeHash(FileOrText)).Replace("-", "").ToLower();
     112    }
     113
    105114  }
    106115}
Note: See TracChangeset for help on using the changeset viewer.