public static void Initialize() { foreach (string ip in AppSettings.Default.RemoteClients) { SyncedFrame syncFrame = new SyncedFrame() { hostname = ip, offsetdelay = 0 }; syncedFrames.Add(syncFrame); } }
public static void AddFrame(string frame, int delay = 0) { SyncedFrame syncFrame = new SyncedFrame() { hostname = frame, offsetdelay = delay }; if (!syncedFrames.Contains(syncFrame)) { syncedFrames.Add(syncFrame); } }