Пример #1
0
 public static string GetRegCode(string machineCode)
 {
     SoftReg sr = new SoftReg();
     try
     {
         return sr.GetRegCode(machineCode).InsertFormat(6, "-");
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public static string GetMachineCode()
 {
     SoftReg sr = new SoftReg();
     try
     {
         return sr.GetMachineCode();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }