.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

get hardware information in local network computers using vb.net

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :.NET Framework
Hi i am currently developing a software where it can get hardware information in a local network computers like getting the RAM size, getting mac address as well as getting hard disk drive capacity.

I have no problem in getting those information in my local computer but the problem is on getting those information to my local network computers.

can someone help and guide me to this development.. thanks!

View Complete Post

More Related Resource Links

how to fetch client side hardware information??

hi...i wanted to fetch the client side hardware information using the wmi queries please help me ...i have the code for fetching hardware information using the desktop application...i wanted to impliment this onto the web application..i think any code written onto the button click event will be executed onto the server and this will give the hardware information of the server..please help me

local pipes vs. network pipes (to connect to SQL Server)

Choosing a Network Protocol (SQL Server 2008 R2) tells: "It is also important to clarify if you are talking about local pipes or network pipes. If the server application is running locally on the computer that is running an instance of SQL Server, the local Named Pipes protocol is an option. Local named pipes runs in kernel mode and is very fast" Well, it is not me who is talking in cited article, I believe so. Should it be understood that "If the server application is running locally on the computer that is running an instance of SQL Server" and configuring/choosing Named Pipes mean running "local Named Pipes"?

Enumerating Reporting Services in local network

Hi. Maybe someone knows a method to findout all Reporting Sevices in LAN ? Actually i need information on both Web Service URL, and Report Manager URL for a setup program, to allow users choose destination Report Server. C++ code is appritiated. Thanks in advance !  

Cannot Access Reports from Computers Within Network




I am able to access reports from my computer that has the SQL Server (2008) installed, but can't seem to access from other computers in the network. All I get is

"The permissions granted to user 'MyComputerName\Guest' are insufficient for performing this operation. (rsAccessDenied)"

Can someone please help?

I tried creating user "MyComputerName\Guest" and assign permission to view reports, but still cannot get it to work. Am I doing something wrong?

Here are some details from my Report Services Configuration Manager

Service Account is set up to Use built-in account : Network Service

Current Report Server Database

SQL Server Name : MyComputerName\ServerName

Database Name : ReportServer$ServerName

Report Server Mode : Native

Current Report Server Database Credential

Credential : SQL Account

Login : sa

Password : **********



Check file permission in (local/network share) directory?



I need to check whether a user has read/write permission to a file on any directories (local or network share).

Can someone provide a short code sample?

I've seen many examples online (pinvoking NetShareGetInfo, DirectoryInfo.GetAccessControl(), FileIOPermission.Demand(), etc), but I'm still unable to correctly check if a file in a network share directory (e.g, \\networkPC\sharedFolder) is readable/writable.

All my checks will pass, but when I attempt to write a file, I get UnauthorizedAccessException ("Access to the path ... is denied").

Should I really be doing my checks this way?

public static bool IsFileWritable(string fileName)
  bool isWritable;
  FileInfo file = new FileInfo(fileName);
    using (Stream stream = file.OpenWrite()) // attempt to open a write stream.
    isWritable = true;
    isWritable = false;

Problem Accessing a Web Service Outside of Local Network


I've created a simple web service and tested it on my local machine and it worked perfectly. Another machine in the same local network tested using the web service and it worked fine as well. However, when I try to access the web service from outside of our local network, it returns a HTTP status 400: Bad Request error message. Any clues as to what might be causing this behavior?

It's my understanding that port 80 is for web services and that is not being blocked by a firewall or anything, so that is not the issue. Any help would be appreciated.

WebMatrix Publishing Settings for Local Network


What would be the publishing settings for a server on my local network? For example, publish to the website home.test.com on server-t100.

Editting user name in information for local user account?


I've added some users to my SharePoint Foundation site from the local machine.  The site is not on a domain.

The name displayed for users is always the user's account name in the form [COMPUTER\AccountName] instead of the full name that has been set up for them in the system.

Is there a way to change this through SharePoint somewhere?

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

Local variable scoping in C#

In my previous post, Compiler-generated scopes for local variable declarations, I briefly touched on the issue of multiple meanings applied to the same name. In this post, I'll aim to flush out the compiler's rules with regards to binding names in their local scopes.

Compiler-generated scopes for local variable declarations

I was tasked with understanding and fixing a bug on error reporting with foreach iteration variables the other day, and it got me thinking about local variable scoping rules in C# in general. First, the bug.

Using network login



Is anyone have sample code to set up log in page using network login?

For example: User Name(same as Network Login)

                     Password(Same as Network Login)

Your help is highly appreciated.

Information about sessions


Some questions about sessions:

I know sessions information is stored in the form of cookie and you can use qurystring for that if you set cookieless session in web.config. But I don't exactly understand the scope of a session.

What I believe is when you login to a website, a session cookie is created and the scope of that session is within that page only. If you close the browser that session gets killed and when you open the browser again and go to that site then a new session is created ie a new session is created on every request. Is this correct?

But I have seen in many websites, even if you close the browser and open it again the session is not killed, how does that happen?

Can anyone clear out and explain the scope/lifetime of sessions


ERROR [HY000] [Informix .NET provider][Informix]Database locale information mismatch


Hi, there is an upgrade to my infimacs server and my web application encounter this error after the infimacs is upgraded.

Below is the information on the server before/after the upgrade.

Before            After

---------       -----------  

Solaris 8      Solaris 10

IDS 9.40     IDS 11.50

The web server where the web application hosted is running IBM Informix Connect 2.81. There is no such error before the upgrade is done.

As a developer, i have IBM Informix Client-SDK 2.90 installed on my local pc and debug the page where the read is needed from infimacs but no such error found.

The error come out only when it is hosted on the web server where IBM Informix Connect 2.81 is installed.

I have gone through many articles and it suggest me to set the environement  variable in the server :  DB_LOCALE=en_us.819.

I haven't try this solution but i think that this might not be the best solution.

Is it possible to to to have this settin

How to send an email with information in query string


First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;

I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;

I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.

Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;

Thank you if you can point me in the right direction.

How to authenticate local user usin ldap or non domain authentication



I created one application, and I need to authenticate local user. This user is the user who is login to his/her Personal Computer.. Main thing his that he/she does not in any DOMAIN... I want NON-DOMAIN authentication.. any how.... please help...

Changing from Local to WCF


I've been handed an application thats connection string implies a local host connection.

I want to make this connection a remote connection, to a database located on a Server.  I want the client and server to be able to communicate with one another remotely, instead of a local connection.

How does one create the Data Service, and establish end points to Server and Client?  Is it as simple as creating a contract (which I have limited knowledge on constructing), between the two locations, setting up the dataservice, security, and ratifying the 'connetions'?

A smidge of insight, please ;-)

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend