Example #1
0
 private static int GetQnVersionSection1()
 {
     if (_qnVersionSection1 < 0)
     {
         string[] array = QnVersion.Split('.');
         _qnVersionSection1 = Convert.ToInt32(array[0]);
     }
     return(_qnVersionSection1);
 }
Example #2
0
 private static int GetQnVersionSection3()
 {
     if (_qnVersionSection3 < 0)
     {
         string[] array = QnVersion.Split('.');
         _qnVersionSection3 = Convert.ToInt32(array[2].Substring(0, array[2].Length - 1));
     }
     return(_qnVersionSection3);
 }