Solved

detect remote machine Operating system

Posted on 2003-10-27
6
254 Views
Last Modified: 2010-04-17
hi experts
i am presently working with VC, i want to known the operating system present on the remote system programatically
is there any way to doit
i am able to get the domains and system ips programatically, and now i need to known the operating system prsent on them.
thanks in advance
regards
Karunakar
0
Comment
Question by:karunakarrreddy
  • 2
6 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 9631577
A fancy way would be to look at the remote registry, starting with a call to RegConnectRegistry(), then look at its HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions.

An easy way would be to run a bat file that plops %OS% into a file which you then pull back.
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 30 total points
ID: 9640572
fire a ping command and redirect the output to a file and read it and based on the ttl you can get the information
128=microsoft
64=linux
etc
0
 
LVL 22

Expert Comment

by:cookre
ID: 9889066
Did you get what you needed?
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

776 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