Exemplo n.º 1
0
        private void CopyIPAddress_Click(object sender, RoutedEventArgs e)
        {
            CoreInstance board = GetSelectedBoard();

            if (board != null)
            {
                AddToClipboard(board.IpAddress);
            }
        }
Exemplo n.º 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));
            }
        }
Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 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);
                }
            }
        }