init: 导入项目到 meswork Gitea
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MisDataName
|
||||
{
|
||||
public class MisMenuFunHash
|
||||
{
|
||||
public static Hashtable PassWord = new Hashtable();
|
||||
|
||||
public static string PassWord_Read(string PwdType)
|
||||
{
|
||||
if (PassWord.ContainsKey(PwdType))
|
||||
{
|
||||
return PassWord[PwdType].ToString();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return "NotFound";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void PassWord_Write(string PwdType, string Password)
|
||||
{
|
||||
|
||||
if (PassWord.ContainsKey(PwdType))
|
||||
{
|
||||
|
||||
PassWord[PwdType] = Password;
|
||||
}
|
||||
else
|
||||
{
|
||||
PassWord.Add(PwdType, Password);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user