473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Computer name and Company name

Hi,
I want to find the computer name and the company name from the network
indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I fgound
nothing for the company name.

Can someone help me plz?

Thanks
Nov 23 '05 #1
5 1237
ThunderMusic wrote:
Hi,
I want to find the computer name and the company name from the network
indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I fgound
nothing for the company name.


Computer name: System.Environment.MachineName
Nov 23 '05 #2
thanks for the computer name, now, what about the company name, I looked
around the machine name and environment namespace, but found nothing. I'm
still searching, but if someone has the answer, I'd love to have it... ;)

thanks

"Peter Franks" <no**@none.com> a écrit dans le message de news:
h1Ogf.17715$qw.16572@fed1read07...
ThunderMusic wrote:
Hi,
I want to find the computer name and the company name from the
network indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I fgound
nothing for the company name.


Computer name: System.Environment.MachineName

Nov 23 '05 #3
If you mean the company particular copy of Windows is registered to, it can
be found in registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\RegisteredOrganization

Of course, that would only work if this information is set correctly. PC
can't figure out which company it belongs to on its own.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...
thanks for the computer name, now, what about the company name, I looked
around the machine name and environment namespace, but found nothing. I'm
still searching, but if someone has the answer, I'd love to have it... ;)

thanks

"Peter Franks" <no**@none.com> a écrit dans le message de news:
h1Ogf.17715$qw.16572@fed1read07...
ThunderMusic wrote:
Hi,
I want to find the computer name and the company name from the
network indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I
fgound nothing for the company name.


Computer name: System.Environment.MachineName


Nov 23 '05 #4
ok, excellent, I'll take this one for now. It should be ok, for the moment.
(I guess it's the one I have to use anyways.)

Thanks a lot.

ThunderMusic

"Ilya Tumanov [MS]" <il*****@online.microsoft.com> a écrit dans le message
de news: 43********@news.microsoft.com...
If you mean the company particular copy of Windows is registered to, it
can be found in registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\RegisteredOrganization

Of course, that would only work if this information is set correctly. PC
can't figure out which company it belongs to on its own.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...
thanks for the computer name, now, what about the company name, I looked
around the machine name and environment namespace, but found nothing. I'm
still searching, but if someone has the answer, I'd love to have it... ;)

thanks

"Peter Franks" <no**@none.com> a écrit dans le message de news:
h1Ogf.17715$qw.16572@fed1read07...
ThunderMusic wrote:
Hi,
I want to find the computer name and the company name from the
network indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I
fgound nothing for the company name.

Computer name: System.Environment.MachineName



Nov 23 '05 #5
You can also use Active Directory information of the login of that machine.
Or your own login.

System.DirectoryServices.DirectoryEntry can be used for this.

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"ThunderMusic" <NO.danlat.at.hotmail.com.SPAM> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi,
I want to find the computer name and the company name from the network
indentification informations.

For the computer name, I found System.Net.Dns.GetHostName(), but I fgound
nothing for the company name.

Can someone help me plz?

Thanks

Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Matt | last post by:
Hi everybody, does anyone know how to retrieve the computer name using ASP? cheers...
1
by: Kevin | last post by:
Hi all, I have a VB.NET application distributed to all employees in our company, and only one person's PC is having problems with it. After a restart of her computer, the next time she runs my...
6
by: Gawel | last post by:
Hajo, I am searching solution for this proble over 2 days. I need to be able to create mailboxes on exchange server that is in domain. I need to do it outside of domain. What is more I can...
5
by: ThunderMusic | last post by:
Hi, I want to find the computer name and the company name from the network indentification informations. For the computer name, I found System.Net.Dns.GetHostName(), but I fgound nothing for...
12
by: dennist685 | last post by:
How to get an Access database on the web from my own computer I have an Access database project in inetpub/wwwroot/Access2 . I build it, and then press cntrl-F5. - I still get the development...
1
by: Patrick Blackman | last post by:
How do you get the name of the Registered Company on a computer? Any ideas would be appreciated.
4
by: chu2ch | last post by:
Good Afternoon Folks, Im kinda in a pickle. I have created a .net 2.0 dll written in vb.net that needs to reside in a folder on a networked computer ( for compatibility with another program)....
1
maxamis4
by: maxamis4 | last post by:
Hello folks, Here is the backgroup. I am creating an agent that can find a user in LDAP and return the last logon date. Now i am not sure if with active directory you can user the...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
2
by: mitja | last post by:
Hi, I have read a lot of posts on the web and got no answer. Is there any chance of geting any unique client identification data (his IP-but not proxy IP or router or NAT, his username, his...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.