In your class add a property
public static string HostAddressString {get;set;}
Write an event handler for the IndexChanged event on the combo - and in that handler
FTClientCode.HostAddressString = combobox.SelectedItem.ToString();
so, in the class you can access HostAddressString
IPAddress[] ipAddress = Dns.GetHostAddresses(HostAddressString);