Registry Key & Value detection method