ShahanButt:
Does an Arduino Uno has a unique ID that i can use and that ID should be different from each Arduino Uno? how can i get that ID and use it?
There is no official and documented way to read a unique ID out of the Atmega328.
Except: You store one into it by yourself, i.e. in EEPROM.
ShahanButt:
Secondly, the same for Arduino Ethernet Sheild. I know it has MAC address but i have an old version of it and in the sketch i am using this
If there is any other way then this please tell me that also!
Not with the Wiznet W5100 chip. The W5100 has no built-in MAC address.
There are some alternative Ethernet Shields available using W5200 or W5500 Ethernet chips and slightly modified Ethernet Libraries, which already have a unique MAC address built-in.