Friday, 21 February 2014

4

How To Create Own MAC Address Changer in C#.Net 2013

  • Friday, 21 February 2014
  • Unknown
  • How To Create Own MAC Address Changer in C#.Net 2013

    Today i will teach you how to Create a MAC Address Changer in C#.NET , Making your own MAC Address Changer would be awesome.

    1. Open Visual C#.Net 2013 in Run As Administrator

    2. Select Tab File -> New -> New Project -> Windows Forms Application

    3. Project Name "Windows MAC Address"

    4. Double-Click On the Set New MAC Button(Change The value of registry key)

    string mac = textBox1.Text;
    
    RegistryKey rkey;
    rkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Class\
    {4D36E972-E325-11CE-BFC1-08002BE10318}\0011", true);
    rkey.SetValue("NetworkAddress", mac);
    MessageBox.Show("Disable The Network Adapter. Than Enable The Network Adapter.");
    
    rkey.Close();
    

    5. Double-Click On the Read Current MAC Button(Show The Value Of Registry Key)

    RegistryKey rkey;
    string app;
    
    rkey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\Class\
    {4D36E972-E325-11CE-BFC1-08002BE10318}\0011", true);
    app = (string)rkey.GetValue("NetworkAddress");
    
    rkey.Close();
    textBox2.Text = app;
    

    6. Double-Click On the Create MAC KeyButton(Create Registry Key)

    RegistryKey rkey;
    rkey = Registry.LocalMachine.CreateSubKey(@"SYSTEM\CurrentControlSet\Control\Class\
    {4D36E972-E325-11CE-BFC1-08002BE10318}\0011");
    rkey.SetValue("NetworkAddress", "000011112222");

    7. Run The Project Press "F5"

    Thank You Watching My Blog Any Question To Comment it.
    read more

    Subscribe