Solved

ASP.net VB.net Getting unique information about a computer

Posted on 2014-01-19
4
738 Views
Last Modified: 2014-01-19
Hi. The following code seems to find just the name of the PC from an ASP.net site
 How do I find other information that is unique to that PC?


Dim way1 As String = System.Environment.MachineName
            Dim way2 As String = Server.MachineName
            Dim way3 As String = System.Net.Dns.GetHostName
            Dim way4 As String = My.Computer.Name
            Dim way5 As String = System.Net.Dns.GetHostEntry(Request.ServerVariables
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:Ark
ID: 39791895
ASP.net controls server-side, not client side machine. Though you can get remote_addr, but for IPv6 it may be useless. You can get some info via ActiveX like shell/wsh/WMI, but user can simply switch ActiveX off...
0
 

Author Comment

by:Murray Brown
ID: 39791897
Thanks. How would I get the following ActiveX: shell/wsh/WMI
0
 
LVL 28

Accepted Solution

by:
Ark earned 500 total points
ID: 39791906
These activeX are already on user machine and you can access them via javascript (if user permit).
You can use following scenario insted:
1. Create 'ProductGenerator' WinApp for download on your site. This app will gather info from client computer (using System.Management or system.Net class for example) and convert it into some code-like (GUID, for examle) form
2. User send this info to you (via e-mail or just filling ASP.net form).
3. You home computer or ASP server contains a code which encrypt some text ('My app is cool' for ex) with above GUID (as a  crypto key)
4. You send encrypted key (password) to user after (s)hi paid for software
5. Your main app available for download have same code as #1 to get and convert system info as well as symmetric algo to decrypt password. Then check decrypted string - if it's 'My app is cool' - run full code, otherwise - run demo code
0
 

Author Closing Comment

by:Murray Brown
ID: 39792146
Thanks very much
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question