0

Is there any way to get client computer hardware configuration from into an ASP.NET server? The information I'm seeking is:

  • Total RAM
  • Processor details
  • HDD
mason
  • 31,774
  • 10
  • 77
  • 121
NAJEEB
  • 251
  • 2
  • 13
  • 2
    You tagged this as ASP.NET. Are you interested in getting the details of the server, or the client? "Local" isn't clear in this context. – mason May 25 '16 at 15:03
  • Client computer(users pc...) – NAJEEB May 25 '16 at 15:05
  • 2
    Some of that information is available on the client side with JavaScript, and then you can communicate that back to the server. So really, your question has nothing to do with ASP.NET or C#. The rest of the information you have to run some executable code on the client's machine to retrieve, and report that back to your site. – mason May 25 '16 at 15:07
  • [Here ](http://stackoverflow.com/questions/4742389/get-pc-system-information-on-windows-machine-c-sharp-script)has the same question. Check it. – Roshan May 25 '16 at 15:07
  • 2
    @Roshan No, that's completely irrelevant. This is a web context, getting details about the client onto the server. – mason May 25 '16 at 15:08
  • For the client you can only get what is in Request.ServerVariables, if you need more info, you need to get the user to download and run an exe to gather this and report back. Oh, and what is in Request.Browser. See https://msdn.microsoft.com/en-us/library/system.web.httprequest(v=vs.110).aspx for other possibilities. – Murray Foxcroft May 25 '16 at 15:08
  • @mason im sorry .. – Roshan May 25 '16 at 15:10
  • Only windows form is the way ? – NAJEEB May 25 '16 at 15:11
  • 2
    @NAJEEB No, *any* executable that's not sandboxed that you can run on the client's computer can get that information. It doesn't have to be Windows Forms. It could be WPF, UWP, console, Java, Python etc. – mason May 25 '16 at 15:13
  • 1
    @Roshan Now that you know your comment is irrelevant, it'd be best to delete it. – mason May 25 '16 at 15:13

0 Answers0