AmazonScrape.MainWindow.OpenWebpage C# (CSharp) Method

OpenWebpage() private method

Attempts to open the user's default web browser and direct it to the supplied url.
private OpenWebpage ( string url ) : void
url string
return void
        private void OpenWebpage(string url)
        {
            // TODO: reported bug that this doesn't work on a machine that
            //    does not have framework 4.5 installed. Get more details.
            try
            {
                System.Diagnostics.Process.Start(url);
            }
            catch (Exception)
            {
                MessageBox.Show("Error while trying to open browser for the requested product.");
            }
        }