public static byte[] Img(string code, int width, int height)
        {
            byte[] numArray = (byte[])null;
            using (Bitmap bitmap = new Bitmap(width, height))
            {
                using (Graphics graphics_0 = Graphics.FromImage((Image)bitmap))
                {
                    graphics_0.Clear(Color.White);
                    bool  bool_0  = ValidateWhiteBlackImgCode.random_0.Next(0, 10) % 2 == 0;
                    Image image_1 = ValidateWhiteBlackImgCode.smethod_0(code, width, height, bool_0);
                    Image image_0 = ValidateWhiteBlackImgCode.smethod_0(code, width, height, !bool_0);
                    switch (ValidateWhiteBlackImgCode.random_0.Next(0, 2))
                    {
                    case 0:
                        graphics_0.smethod_1(width, height, image_0, image_1);
                        break;

                    case 1:
                        graphics_0.akCnwcnidw(width, height, image_0, image_1);
                        break;
                    }
                    graphics_0.Flush();
                }
                using (MemoryStream memoryStream = new MemoryStream())
                {
                    bitmap.Save((Stream)memoryStream, ImageFormat.Png);
                    numArray = memoryStream.ToArray();
                    memoryStream.Close();
                }
            }
            return(numArray);
        }
 public static string RandemCode()
 {
     return(ValidateWhiteBlackImgCode.RandemCode(4));
 }