Exemplo n.º 1
0
 public bool LoadFile(string path)
 {
     timeLine.Clear();
     CaptureSettingsVM.GetSettings();
     if (timeLine.LoadFile(path))
     {
         _captureName = path;
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
        private void StartButton_Checked(object sender, System.Windows.RoutedEventArgs e)
        {
            var platform = AddressBarVM.Selection;

            if (platform == null)
            {
                return;
            }

            IPAddress address = null;

            if (!IPAddress.TryParse(platform.Address, out address))
            {
                return;
            }

            CaptureSettings settings = CaptureSettingsVM.GetSettings();

            timeLine.StartCapture(address, platform.Port, settings, platform.Password);
        }