I just need to redirect from console to web url, is this possible in net net c #? my code is below.
public static class Program { public static void Main(String[] args) { Console.Write("Waiting for a connect to http://www.abcde.com"); Console.Read(); } }
maybe in c #? Please suggest.
To open the URL in the default browser, you can use
System.Diagnostics.Process.Start("http://stackoverflow.com");
If you want to open a website with a default web browser, you can use
, - System.Diagnostics.Process.Start("http://stackoverflow.com"); - .
, , - :
// open in Internet Explorer Process.Start("iexplore", "http://stackoverflow.com/");
Source: https://habr.com/ru/post/1667365/More articles:Стиль WPF Combobox и триггеры не работают - c#Tensorflow GPU - Spyder - pythonImport a module into Android Studio - androidF # Recursive member function: "How to define it correctly" - recursionformatting a special string inside a series in Pandas - pythonVBA Open another book and variable sheet - vbaКонсоль Amazon S3: загрузка сразу нескольких файлов - amazon-s3Does Lucee support any single-character characters in QoQ? - coldfusiongsub removes everything up to the first comma - ruby | fooobar.comHow to apply a backup font? - cssAll Articles