Skip to content

👓 Get default browser user agent in C#

License

Notifications You must be signed in to change notification settings

csharpHub/GetUserAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

👓 GetUserAgent

Get default browser user agent in C#

🔨 Usage:

staticvoidMain(string[]args){stringbrowser=GetDefaultBrowser();stringlocation=GetBrowserLocation(browser);stringversion=GetBrowserVersion(location);stringuseragent=GetUserAgent(browser);Console.WriteLine("Browser : "+browser);Console.WriteLine("Location : "+location);Console.WriteLine("Version : "+version);Console.WriteLine("User-Agent : "+useragent);Console.ReadLine();}

About

👓 Get default browser user agent in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages