Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixed repeated interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-richard7 authored Feb 5, 2022
1 parent 36c7eb8 commit 0344319
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions GTA Online IP Grabber/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,9 @@ private void PacketHandler(Packet packet)


}
private void DevicePrint(IPacketDevice device)
{

foreach (DeviceAddress address in device.Addresses)
{



if (device.Description != null)
comboBox1.Items.Add(device.Description);
}

private void DevicePrint(LivePacketDevice device)
{
comboBox1.Items.Add(device.Description);
}

public IList<LivePacketDevice> allDevices = LivePacketDevice.AllLocalMachine;
Expand Down

0 comments on commit 0344319

Please sign in to comment.