Make a machine password. Will be used to let the admin user open student files

This commit is contained in:
Tim Young 2017-08-03 11:35:29 -05:00
parent 1396b72752
commit ff37a1b0ef

View File

@ -148,6 +148,10 @@ namespace EduNetworkBuilder
{ {
return GenUserPW(RanGen, NB.DefaultPasswordLen); return GenUserPW(RanGen, NB.DefaultPasswordLen);
} }
public static string GenMachinePW(Random RanGen)
{
return GenUserPW(RanGen, NB.DefaultMachinePasswordLen);
}
public static string GenUserPW(Random RanGen, int length) public static string GenUserPW(Random RanGen, int length)
{ {