How to get UDID or UUID of iphone ?

Ever wondered how can you get UDID of your iPhone ?