Obtain The Mac Address Of A Specific Computer?

Jan 29, 2009

I've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.

I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.

View 6 Replies


ADVERTISEMENT

C# - Force Application To Use A Specific IP Address From Running Computer?

Dec 4, 2011

I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.

What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.

View 2 Replies

Inet1.OpenURL - Obtain External Ip Address?

May 14, 2011

I found this code online on how to obtain my external ip address

[Code]...

but i get a blue line under Inet1

View 3 Replies

VS 2008 : Use The DHCP API To Retrieve A Computer's MAC Address When Given The IP Address?

Nov 27, 2009

I'm trying to use the DHCP API (using the references on pinvoke.net) to retrieve a computer's MAC address when given the IP address but I can't get the code to work. I've run all the C# code on pinvoke.net through the C#-to-VB converter but I'm stuck now.

Here's what I have so far. The value of res is always 5 (should be 0). Thing is, I can't find any documentation on what the return codes mean

vb
Private Sub GetMACDim client As String = "1.1.1.1" Dim server As String = "0.0.0.0" Dim si As New NativeMethods.DHCP_SEARCH_INFO si.SearchType = NativeMethods.DHCP_SEARCH_INFO_TYPE.DhcpClientIpAddress si.ClientIpAddress = Convert.ToUInt32(StringIPAddressToUint32(client)) Dim res As UInteger Dim oInfo As IntPtr

[code]....

View 2 Replies

Get Os Version Of Remote Computer Using Computer Name Or Ip Address?

Apr 16, 2010

I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,

View 1 Replies

Obtain Physical Path Of Specific Website

Sep 18, 2009

I have a web application (built as a product) that contains an XSL stylesheet that I'd like to use in a console application I've written in VB.Net in support of that web application. Is there a way to automatically determine the physical path to where the web application is installed? I know that the IIS Metabase holds this information, I just don't know how to access it.

What I have is the path to the web site. For example: [URL]. I'd like to look up in the IIS Metabase (on a specific server) to find the physical path
(For example: c:inetpubwwwrootmyapplicationfolder)
Is this possible from a console application running on either that server or even another server? (assume the account running the process has full admin rights).

View 2 Replies

Lookup For A Specific Computer Given Ip Or Computer Name ... Retrieve The User Logged On

May 21, 2010

how can i look up for a specific computer given ip or computer name ...retrieve the user logged on..

View 2 Replies

Get A Computer's Mac Address With An IP Address?

May 11, 2010

does anyone know how to get a computer's mac address with an IP address?

View 25 Replies

.net - Getting IP Address Of Computer?

Nov 29, 2010

How can I get the IP address of my computer (on which my application is running)in vb.net

View 3 Replies

Get A Computer's Name And IP Address?

Feb 10, 2010

How to get the remote computer name and IP address with vb.net !!! We are running a vb.net application on Intranet. We have users in remote areas who use the application. So I would like to know their computername and password.

View 3 Replies

Get The IP Address Of A Computer?

Jun 6, 2010

How do I get the Internet IP of a computer using VB? not the xxx.xxx.x.xxx of a router. This code will go into a Windows Forms control and will be storable.

View 5 Replies

Access Visitor's Computer Mac Address In C#.net

Aug 6, 2010

Actually it is possible to find the mac address of host computer using but i just want the code for access the visitor's computer mac address in c#.net

View 1 Replies

Get Physical Address Of Computer Having Windows 7?

Oct 10, 2009

how to get physical address of computer having Windows 7.

View 8 Replies

Programmatically Add Tags For Address / Name / Computer Name While Saving Letter

Sep 2, 2007

I am new in to .NET. I am creating an application where I have to perform Mail Merge from my program. I have created a form which contain RTB and user can write letters. I programmatically add tags for address, name, comp. name et while saving the letter. I have a datasource - in for mof a dataset to whom I have to send the letter.This is where I am stuck. I don't know how to open the selected letter and replace the tags and how to do mail merge.

View 6 Replies

Specific Ip Address Selection?

Feb 22, 2011

im in the process of using vb.net code to return the ip address of my machine its working sorta correctly i can get the right ip address if i change the addresslist.getvalue(0) from [0] to any where up to [5]this im guessing is an array of information in the network adapter or something im not real interested in the other information in the other values my problem is depending on weather i have ipv6 options enabled in my adapter settings the true(192.xxx.x.x) is in value(2) for on and value(3) for off also i tried it on another machine and it came back as value(5) of 12 my problem is i can display every value() that has information in it in a text box but i cant make the program find the right address to use(192.xxx.x.x) this code runs and produces a multiline textbox with up to 11 lines of data in it and the ip address is visible in the list of data

Dim myIPs As System.Net.IPHostEntry = Nothing
Dim ip As String
Dim h As System.Net.IPHostEntry = Nothing

[code]....

but is there a way to either compare the adapter address list to a mask to get the correct value() for the ip address or is there another way to return the ip im not aware of?

View 1 Replies

Address A Specific Control That Is On UserControl?

Jan 9, 2009

How do I address a specific control that is on a UserControl? For example, I have a UserControl containing a TextBox, that I add to a form in code. Now I want to set the text of that TextBox, but I'm not sure how to do that.

View 1 Replies

Monitor A Specific Address In Memory?

May 22, 2009

What's the best way to monitor a specific address in memory? And is it possible in theory to block a certain address being written to?

View 1 Replies

Asp.net - Send SOAP Request From A Specific IP Address

Dec 21, 2011

I have a system with multiple IP address. But I'm allowed to initiate SOAP Request only from one IP address. How do I obtain that in VB.NET.

View 2 Replies

Getting Specific Directorys Using My.computer

Aug 9, 2010

Whats the best practice to get special direcorys?? I know i could use

[Code]...

View 2 Replies

How To Determine If A Specific Framework Is On A Computer

Feb 23, 2010

How can I programmatically determine if .net 2 or any other .net framework is on a computer?

View 4 Replies

Open The Specific Port Of A Windows Computer?

Jan 15, 2010

I tried to make a winsock program.But when i run, i have a SocketException "No connection could be made because the target machine actively refuse it."Any suggestions on what i should do? Im using 17477 port.By the way Im using my own computer to test it. So i have no idea why.How should I open this specific port in my own computer?

Is it possible that I could include it to could into my program so that i don't need to open the ports of each computer? Below is my code.

[Code]...

View 6 Replies

TCP Protocols - Sending Command To Specific Port On Same Computer

Mar 10, 2011

I am working on writing a program that needs to send a command to a specific port on the same computer, I have that working fine. There is another piece of software running that is listening to that port for some commands (read on).
Dim myTcpClient As New TcpClient
myTcpClient.Connect("127.0.0.1", 61225)
Dim networkStream As NetworkStream = myTcpClient.GetStream()

However when I try to send a command I get no response...
Dim outStream As Byte() = System.Text.Encoding.ASCII.GetBytes("0x33")
networkStream.Write(outStream, 0, outStream.Length)
networkStream.Flush()

I have been given a list of protocols that I need to send to that port. What I have been told is that the size (in byes) is 1 and the value is "0x33" with no parameters. I am completely new to sockets and sending data through tcp.

View 7 Replies

Get The Music File From A Specific Folder From Computer And Putting It Into A Listview?

Jun 7, 2011

I'm currently developing a download manager and converter for audio and video files. Does anyone know how can I get the music file from a specific folder from my computer (I already used openfiledialog) and putting it into a listview?

e.g.
FILE NAME FILE TYPE
Born this way.mp3 MP3

View 1 Replies

OpenFileDialog - Getting Specific File Type From My Computer Using The .getfiles Function

Jun 10, 2011

I'm doing a project now. I'm having a problem on getting specific file type from my computer using the .getfiles function.

Here's my codes.

Private Sub dlgOpen_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles dlgOpen.FileOk

Dim filepath as String = "C:"
dlgOpen.CheckFileExists = True

[CODE]...

What I wanted to happen is when the openfiledialog prompted and once I've selected the file, the file information I've specified above must show on the application as a label. But nothing appears. The file name only appears on the text box beside the open button. It should also appear above the button and the text box as a label. How could i possibly do that? And how could I select just one file at a time from a folder with 150 other files in it? When I use getFiles, it only gets all at the same time everything that's in the folder even if i've only just selected one file.

View 8 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

IP Address Filter Or Mask To Only Allow Valid IP Address Before Pinging Or Testing For Network Connection

Jul 6, 2011

Are there any IP Address filters or masks available in Windows Forms as per following screenshot? A backslash shouldn't be allowed or it should be filtered somehow.

View 1 Replies

Usage Of Each Socket Address (protocol/network Address/port) Is Normally Permitted?

Aug 11, 2009

SocketException was Unhandled: Only one usage of each socket address (protocol/network address/port) is normally permitted I get this error every time i click collect a second time.

[Code]...

View 3 Replies

Obtaining Network Address From Host IP Address And Subnet Mask

Mar 8, 2009

Can anyone point me to some code which can help obtain the network address from the host IP and subnet mask?

View 3 Replies

Make The Website Address Show In Browser Address Bar?

Aug 6, 2011

I made web browser which consist address bar that I use it to type addressess in it i.ewhen I type [URL] it opens [URL] but when I go to anther page in google it doesnot show it's link in address bar lix InterntExplorer or other international browsers so how to show any link or any sub page's link in my browser address bar ?

View 1 Replies

Get Hostname, IP Address And Mac Address Of The Computers By Domain?

Jun 28, 2009

' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte

[code].....

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved