コード例 #1
0
 public static Boolean IsActivated()
 {
     if (C_Setting_ini.Read("key_ActivationSoftware").Equals(ComputeActivation()))
     {
         return(true);
     }
     C_Setting_ini.Write("key_ActivationSoftware", "");
     return(false);
 }
コード例 #2
0
 public static Boolean IsActivated(String p_code)
 {
     if (ComputeActivation().Equals(p_code))
     {
         C_Setting_ini.Write("key_ActivationSoftware", p_code);
         return(true);
     }
     else
     {
         C_Setting_ini.Write("key_ActivationSoftware", "");
         return(false);
     }
 }