private static void AddLastIPProfiler(List <ProfilerChoise> profilers)
{
string lastIP = ProfilerIPWindow.GetLastIPString();
if (!string.IsNullOrEmpty(lastIP))
{
ProfilerChoise item = default(ProfilerChoise);
item.Name = lastIP;
item.Enabled = true;
item.IsSelected = (() => ProfilerDriver.connectedProfiler == 65261);
item.ConnectTo = delegate
{
AttachProfilerUI.DirectIPConnect(lastIP);
};
profilers.Add(item);
}
}