How to get physical address in windows 7




















Meet the Author over on Twitter to join the conversation right now! Home Archive Tools Contact Us. Advertisement Facebook Twitter Pinterest. I have this piece of code with me which does the same.

I believe that it is working on in Windows XP. When I run this code on Windows 7. It only returns the MAC Address as I have tried on 5 PCs and the result is the same.

Please help :. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.

Viewed 5k times. First question : How can I find the physical address of a file? Second question : Is it possible to call a routine which will just do like if I invoked a C function? Third question : Are there somewhere on the net some include files for GoAsm containing useful routines like move, copy, edit, erase commands?

Fourth question : I've heard from different sources and myself that NASM works pretty bad on Win7 x64 , is it just true, or am I doing it the wrong way? Improve this question. Mat k 39 39 gold badges silver badges bronze badges.

Chuck Norris Chuck Norris 11 1 1 silver badge 2 2 bronze badges. Files don't have memory addresses. They are located at locations on the disk which have "locations" e.

The fact that this is unclear to you suggests you'd be better off spending time learning about computer architectures and operating systems before you spend much more energy on assembly code. First, thanks for the answer. But I don't agree to what yer' saying, though I may be wrong. If I write a byte on a random part of an HDD, this byte is obviously put in one of the sectors, and should have its address to locate where the byte is. We all know the CPU doesn't recognize anything else than binary, the binary notation being used to specify a binary address.

Chunk Norris: Don't confuse what happens inside the computer for where the file data eventually ends up. Your postal box has an address, and it collects letters. But there is vast amount of mechanical shuffling of the letters inside the Post Office you never see, and each place where that shuffling occurs in the PO has an "address" too if nothing else, its GPS coordinates. But the two kinds of addresses are completely unrelated.

I'm back to my comment: you need to go read about computer and OS architectures more before you spend any more time following your original train of thought.

This just proves the point, that you should go learn about basic computer architecture before trying assembly. Points: The physical address is also known as MAC address. I give hereunder the three options to find out the physical address or MAC address of your system: Option One: Find physical address or MAC address using network connection details: Enter the control panel. Click on the start button at the task bar.

Then click on Settings to open the control panel. There, click on the "Network and Sharing Center" icon. When you see the left pane, Find the 'Change adapter settings' link You will be able to view the MAC address when right click on the network connection. In the window that opens, click on Status, and then click on the 'Details' button. After this, you can close the Network Connections Option Two In this option, you can find the MAC or physical address by using "getmac" command: Open the command prompt by clicking on the Start button that will open the option for 'Run'.



0コメント

  • 1000 / 1000