Example #1
0
        private void CopyIPAddress_Click(object sender, RoutedEventArgs e)
        {
            CoreInstance board = GetSelectedBoard();

            if (board != null)
            {
                AddToClipboard(board.IpAddress);
            }
        }
Example #2
0
        public override bool Equals(object obj)
        {
            CoreInstance other = obj as CoreInstance;

            if (this == null || other == null)
            {
                return(false);
            }
            else
            {
                return(MacAddress.Equals(other.MacAddress));
            }
        }
Example #3
0
        private void OpenNetworkShare_Click(object sender, RoutedEventArgs e)
        {
            CoreInstance board = GetSelectedBoard();

            if (board != null)
            {
                try
                {
                    System.Diagnostics.Process.Start("\\\\" + board.IpAddress + "\\" + "c$");
                }
                catch (Exception ex)
                {
                    ShowAppLaunchFailure(ex);
                }
            }
        }
Example #4
0
        private void WebBrowserHere_Click(object sender, RoutedEventArgs e)
        {
            CoreInstance board = GetSelectedBoard();

            if (board != null)
            {
                try
                {
                    System.Diagnostics.Process.Start("http://" + board.IpAddress);
                }
                catch (Exception ex)
                {
                    ShowAppLaunchFailure(ex);
                }
            }
        }
Example #5
0
        private void TelnetHere_Click(object sender, RoutedEventArgs e)
        {
            CoreInstance board = GetSelectedBoard();

            if (board != null)
            {
                string system32 = Environment.GetFolderPath(Environment.SpecialFolder.System);
                try
                {
                    System.Diagnostics.Process.Start("telnet:" + board.IpAddress);
                }
                catch (Exception ex)
                {
                    ShowAppLaunchFailure(ex);
                }
            }
        }