Modified code regarding domain name and daily security code
This commit is contained in:
parent
1a03c1b329
commit
1aece98d43
@ -1031,7 +1031,7 @@ namespace VEPROMS
|
|||||||
- Harry’s PC- Harry-7100
|
- Harry’s PC- Harry-7100
|
||||||
- Caitlin- Caitlin-PC
|
- Caitlin- Caitlin-PC
|
||||||
*/
|
*/
|
||||||
if ("|VOLIAN0|JCB2-HP|WINDOWS7-RHM|PAUL-PC|MICHELLE-PC|WIN-O4QLPEH7JKH|HARRY-7100|CAITLIN-PC|".Contains("|" + Environment.UserDomainName + "|"))
|
if ("|VOLIAN0|JCB2-HP|WINDOWS7-RHM|PAUL-PC|MICHELLE-PC|WIN-O4QLPEH7JKH|HARRY-7100|CAITLIN-PC|".Contains("|" + Environment.UserDomainName.ToUpper() + "|"))
|
||||||
{
|
{
|
||||||
Random rnd = new Random(DateTime.Now.Year + DateTime.Now.DayOfYear * 1000);
|
Random rnd = new Random(DateTime.Now.Year + DateTime.Now.DayOfYear * 1000);
|
||||||
MessageBox.Show(this, GetSecurityKey(), "Today's Security Key");
|
MessageBox.Show(this, GetSecurityKey(), "Today's Security Key");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user