using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Windows.Forms;
namespace Google_Search
{
public struct JsonContainer
{
public string bin { get; set; }
public string brand { get; set; }
public string sub_brand { get; set; }
public string country_code { get; set; }
public string country_name { get; set; }
public string bank { get; set; }
public string card_type { get; set; }
public string card_category { get; set; }
}
public partial class Form3 : Form
{
private Dictionary<string, string> lstParams;
public Form3()
{
InitializeComponent();
}
public Form3(Dictionary<string, string> lstParams)
{
InitializeComponent();
this.lstParams = lstParams;
}
private void Form3_Load(object sender, EventArgs e)
{
webBrowser2.Navigate("http://anonym.to/https://www.binlist.net/json/" + lstParams["bin"]);
string bin = JsonConvert.SerializeObject(new JsonContainer { bin = ""} );
label9.Text = bin;
string brand = JsonConvert.SerializeObject(new JsonContainer { brand = "" });
label10.Text = brand;
string sub_brand = JsonConvert.SerializeObject(new JsonContainer { sub_brand = "" });
label11.Text = sub_brand;
string country_code = JsonConvert.SerializeObject(new JsonContainer { country_code = "" });
label12.Text = country_code;
string country_name = JsonConvert.SerializeObject(new JsonContainer { country_name = "" });
label13.Text = country_name;
string bank = JsonConvert.SerializeObject(new JsonContainer { bank = "" });
label14.Text = bank;
string card_type = JsonConvert.SerializeObject(new JsonContainer { card_type = "" });
label15.Text = card_type;
string card_category = JsonConvert.SerializeObject(new JsonContainer { card_category = "" });
label16.Text = card_category;
}
}
}