Hi everyone!
I use a webservice in order to get and return Registry value.
For explicit more, example follow:
RegistryKey regKey = Registry.CurrentUser.OpenSubKey("Software\\Yahoo\\Pager");
string sUserName = regKey.GetValue("Yahoo! User ID").ToString();
regKey.Close();
In winform application, I can get 'sUserName' variable easily, but I can't get it on a webservice, it throws exception: "Object reference not set to an instance of an object"
Experts can help me in this regard?
Thanks so much in advance!