This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
pithos/privateFunctions.cs
2014-12-30 20:57:52 +00:00

35 lines
964 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Drawing;
namespace Pithos
{
class privateFunctions {
public static List<string> validUserNames() {
List<string> valids = new List<string>();
valids.Add("Jake");
valids.Add("13HowardJS03");
return valids;
}
public static List<string> validMachineNames()
{
List<string> valids = new List<string>();
valids.Add(")");
return valids;
}
public static bool checkHardCodes(string input)
{
string hash = tools.hash(input).ToLower();
Program.UL.unlockButton.Text = hash;
switch (hash)
{
case "747ec194be4358b3d54b3a29f5a20546":
return true;
default:
return false;
}
}
}
}