Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

WCF browser name

$
0
0
How do I get the string name of the browser (Chrome, Mozilla Firefox, ...) which Visual Studio opens when executing a WCF service?

I'm using Visual Studio 2012

The problem is that I'm using curl to test my service, and browser name is unknown when I use

HttpRequest Request = HttpContext.Current.Request;

string Browser = Request.Browser.Browser.ToString();


When I run my WCF Service it opens a browser. How do I get that browser name in Program?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>