Does anybody know a method of reading custom DHCP option values from Windows?

For example a well known custom DHCP option is option 252 for WPAD (Web Proxy Auto Detection) used in IE. If I wanted to assign a custom value to a DHCP server, how can I read it on a client machine, preferably using WSH.

I've searched the Internet and found very little on this subject. Any ideas?